HSL(213, 97%, 40%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(213,97%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(213, 97%, 40%) | color: hsl(213, 97%, 40%) | |
| HEX | #035CC9 | color: #035CC9 | |
| RGB | rgb(3, 92, 201) | color: rgb(3, 92, 201) | |
| CMYK | cmyk(99%, 54%, 0%, 21%) | — | |
| HSV | hsv(213, 99%, 79%) | — | |
| HWB | hwb(213 1% 21%) | color: hwb(213 1% 21%) | |
| OKLCH | oklch(0.4984 0.1849 258.3) | color: oklch(0.4984 0.1849 258.3) | |
| Lab | lab(41.04 20.71 -62.64) | color: lab(41.04 20.71 -62.64) | |
| LCH | lch(41.04 65.97 288.29) | color: lch(41.04 65.97 288.29) |
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)
#2A2AAF — rgb(42, 42, 175)
Deuteranopia (Green-blind)
#241EA8 — rgb(36, 30, 168)
Tritanopia (Blue-blind)
#079A95 — rgb(7, 154, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(213, 97%, 40%);
text
color: hsl(213, 97%, 40%);
border
border: 2px solid hsl(213, 97%, 40%);
gradient light
background: linear-gradient(to right, hsl(213, 97%, 60%), hsl(213, 97%, 40%));
gradient dark
background: linear-gradient(to right, hsl(213, 97%, 40%), hsl(213, 97%, 20%))
hex
background-color: #035CC9;
tailwind
bg-[hsl(213,97%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(213, 97%, 40%, 0.4);
css variable
--color-primary: hsl(213, 97%, 40%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(213, 97%, 40%)?
HEX: #035CC9 | RGB: rgb(3, 92, 201) | CMYK: 99%, 54%, 0%, 21% | HSV: 213°, 99%, 79%. Copy any format from the conversion table above.
What colors go well with #035CC9?
The complementary color is HSL(33, 97%, 40%). For a triadic harmony, use hues 213°, 333°, and 93°. For analogous combinations, try hues 183° and 243°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(213, 97%, 40%) in CSS?
As HSL: color: hsl(213, 97%, 40%); — As HEX: color: #035CC9; — As RGB: color: rgb(3, 92, 201); — Tailwind CSS: bg-[hsl(213,97%,40%)] — CSS variable: --color-primary: hsl(213, 97%, 40%);