HSL(211, 97%, 40%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(211,97%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(211, 97%, 40%) | color: hsl(211, 97%, 40%) | |
| HEX | #0363C9 | color: #0363C9 | |
| RGB | rgb(3, 99, 201) | color: rgb(3, 99, 201) | |
| CMYK | cmyk(99%, 51%, 0%, 21%) | — | |
| HSV | hsv(211, 99%, 79%) | — | |
| HWB | hwb(211 1% 21%) | color: hwb(211 1% 21%) | |
| OKLCH | oklch(0.5135 0.1765 256.43) | color: oklch(0.5135 0.1765 256.43) | |
| Lab | lab(43 16.12 -59.46) | color: lab(43 16.12 -59.46) | |
| LCH | lch(43 61.61 285.17) | color: lch(43 61.61 285.17) |
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)
#2D2DB0 — rgb(45, 45, 176)
Deuteranopia (Green-blind)
#2720AA — rgb(39, 32, 170)
Tritanopia (Blue-blind)
#089D99 — rgb(8, 157, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(211, 97%, 40%);
text
color: hsl(211, 97%, 40%);
border
border: 2px solid hsl(211, 97%, 40%);
gradient light
background: linear-gradient(to right, hsl(211, 97%, 60%), hsl(211, 97%, 40%));
gradient dark
background: linear-gradient(to right, hsl(211, 97%, 40%), hsl(211, 97%, 20%))
hex
background-color: #0363C9;
tailwind
bg-[hsl(211,97%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(211, 97%, 40%, 0.4);
css variable
--color-primary: hsl(211, 97%, 40%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(211, 97%, 40%)?
HEX: #0363C9 | RGB: rgb(3, 99, 201) | CMYK: 99%, 51%, 0%, 21% | HSV: 211°, 99%, 79%. Copy any format from the conversion table above.
What colors go well with #0363C9?
The complementary color is HSL(31, 97%, 40%). For a triadic harmony, use hues 211°, 331°, and 91°. For analogous combinations, try hues 181° and 241°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(211, 97%, 40%) in CSS?
As HSL: color: hsl(211, 97%, 40%); — As HEX: color: #0363C9; — As RGB: color: rgb(3, 99, 201); — Tailwind CSS: bg-[hsl(211,97%,40%)] — CSS variable: --color-primary: hsl(211, 97%, 40%);