HSL(221, 97%, 38%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,97%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 97%, 38%) | color: hsl(221, 97%, 38%) | |
| HEX | #033EBF | color: #033EBF | |
| RGB | rgb(3, 62, 191) | color: rgb(3, 62, 191) | |
| CMYK | cmyk(98%, 68%, 0%, 25%) | — | |
| HSV | hsv(221, 98%, 75%) | — | |
| HWB | hwb(221 2% 25%) | color: hwb(221 2% 25%) | |
| OKLCH | oklch(0.4305 0.2079 262.84) | color: oklch(0.4305 0.2079 262.84) | |
| Lab | lab(32.31 36.6 -71.09) | color: lab(32.31 36.6 -71.09) | |
| LCH | lch(32.31 79.96 297.24) | color: lch(32.31 79.96 297.24) |
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)
#1D1DA0 — rgb(29, 29, 160)
Deuteranopia (Green-blind)
#191598 — rgb(25, 21, 152)
Tritanopia (Blue-blind)
#068782 — rgb(6, 135, 130)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 97%, 38%);
text
color: hsl(221, 97%, 38%);
border
border: 2px solid hsl(221, 97%, 38%);
gradient light
background: linear-gradient(to right, hsl(221, 97%, 58%), hsl(221, 97%, 38%));
gradient dark
background: linear-gradient(to right, hsl(221, 97%, 38%), hsl(221, 97%, 18%))
hex
background-color: #033EBF;
tailwind
bg-[hsl(221,97%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 97%, 38%, 0.4);
css variable
--color-primary: hsl(221, 97%, 38%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 97%, 38%)?
HEX: #033EBF | RGB: rgb(3, 62, 191) | CMYK: 98%, 68%, 0%, 25% | HSV: 221°, 98%, 75%. Copy any format from the conversion table above.
What colors go well with #033EBF?
The complementary color is HSL(41, 97%, 38%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 97%, 38%) in CSS?
As HSL: color: hsl(221, 97%, 38%); — As HEX: color: #033EBF; — As RGB: color: rgb(3, 62, 191); — Tailwind CSS: bg-[hsl(221,97%,38%)] — CSS variable: --color-primary: hsl(221, 97%, 38%);