HSL(233, 68%, 39%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,68%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 68%, 39%) | color: hsl(233, 68%, 39%) | |
| HEX | #2030A7 | color: #2030A7 | |
| RGB | rgb(32, 48, 167) | color: rgb(32, 48, 167) | |
| CMYK | cmyk(81%, 71%, 0%, 35%) | — | |
| HSV | hsv(233, 81%, 65%) | — | |
| HWB | hwb(233 12% 35%) | color: hwb(233 12% 35%) | |
| OKLCH | oklch(0.389 0.1883 268.78) | color: oklch(0.389 0.1883 268.78) | |
| Lab | lab(27.32 37.94 -65) | color: lab(27.32 37.94 -65) | |
| LCH | lch(27.32 75.26 300.27) | color: lch(27.32 75.26 300.27) |
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)
#27278A — rgb(39, 39, 138)
Deuteranopia (Green-blind)
#262583 — rgb(38, 37, 131)
Tritanopia (Blue-blind)
#21736E — rgb(33, 115, 110)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 68%, 39%);
text
color: hsl(233, 68%, 39%);
border
border: 2px solid hsl(233, 68%, 39%);
gradient light
background: linear-gradient(to right, hsl(233, 68%, 59%), hsl(233, 68%, 39%));
gradient dark
background: linear-gradient(to right, hsl(233, 68%, 39%), hsl(233, 68%, 19%))
hex
background-color: #2030A7;
tailwind
bg-[hsl(233,68%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 68%, 39%, 0.4);
css variable
--color-primary: hsl(233, 68%, 39%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 68%, 39%)?
HEX: #2030A7 | RGB: rgb(32, 48, 167) | CMYK: 81%, 71%, 0%, 35% | HSV: 233°, 81%, 65%. Copy any format from the conversion table above.
What colors go well with #2030A7?
The complementary color is HSL(53, 68%, 39%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 68%, 39%) in CSS?
As HSL: color: hsl(233, 68%, 39%); — As HEX: color: #2030A7; — As RGB: color: rgb(32, 48, 167); — Tailwind CSS: bg-[hsl(233,68%,39%)] — CSS variable: --color-primary: hsl(233, 68%, 39%);