HSL(237, 97%, 34%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,97%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 97%, 34%) | color: hsl(237, 97%, 34%) | |
| HEX | #030BAB | color: #030BAB | |
| RGB | rgb(3, 11, 171) | color: rgb(3, 11, 171) | |
| CMYK | cmyk(98%, 94%, 0%, 33%) | — | |
| HSV | hsv(237, 98%, 67%) | — | |
| HWB | hwb(237 1% 33%) | color: hwb(237 1% 33%) | |
| OKLCH | oklch(0.3421 0.2273 264.63) | color: oklch(0.3421 0.2273 264.63) | |
| Lab | lab(20.82 55.8 -78.24) | color: lab(20.82 55.8 -78.24) | |
| LCH | lch(20.82 96.1 305.5) | color: lch(20.82 96.1 305.5) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#060784 — rgb(6, 7, 132)
Deuteranopia (Green-blind)
#06057B — rgb(6, 5, 123)
Tritanopia (Blue-blind)
#03665F — rgb(3, 102, 95)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 97%, 34%);
text
color: hsl(237, 97%, 34%);
border
border: 2px solid hsl(237, 97%, 34%);
gradient light
background: linear-gradient(to right, hsl(237, 97%, 54%), hsl(237, 97%, 34%));
gradient dark
background: linear-gradient(to right, hsl(237, 97%, 34%), hsl(237, 97%, 14%))
hex
background-color: #030BAB;
tailwind
bg-[hsl(237,97%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 97%, 34%, 0.4);
css variable
--color-primary: hsl(237, 97%, 34%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 97%, 34%)?
HEX: #030BAB | RGB: rgb(3, 11, 171) | CMYK: 98%, 94%, 0%, 33% | HSV: 237°, 98%, 67%. Copy any format from the conversion table above.
What colors go well with #030BAB?
The complementary color is HSL(57, 97%, 34%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 97%, 34%) in CSS?
As HSL: color: hsl(237, 97%, 34%); — As HEX: color: #030BAB; — As RGB: color: rgb(3, 11, 171); — Tailwind CSS: bg-[hsl(237,97%,34%)] — CSS variable: --color-primary: hsl(237, 97%, 34%);