HSL(233, 74%, 25%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,74%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 74%, 25%) | color: hsl(233, 74%, 25%) | |
| HEX | #111C6F | color: #111C6F | |
| RGB | rgb(17, 28, 111) | color: rgb(17, 28, 111) | |
| CMYK | cmyk(85%, 75%, 0%, 56%) | — | |
| HSV | hsv(233, 85%, 44%) | — | |
| HWB | hwb(233 7% 56%) | color: hwb(233 7% 56%) | |
| OKLCH | oklch(0.2875 0.1412 268.63) | color: oklch(0.2875 0.1412 268.63) | |
| Lab | lab(15.99 28.7 -48.72) | color: lab(15.99 28.7 -48.72) | |
| LCH | lch(15.99 56.54 300.5) | color: lch(15.99 56.54 300.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)
#16165B — rgb(22, 22, 91)
Deuteranopia (Green-blind)
#151456 — rgb(21, 20, 86)
Tritanopia (Blue-blind)
#124B48 — rgb(18, 75, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 74%, 25%);
text
color: hsl(233, 74%, 25%);
border
border: 2px solid hsl(233, 74%, 25%);
gradient light
background: linear-gradient(to right, hsl(233, 74%, 45%), hsl(233, 74%, 25%));
gradient dark
background: linear-gradient(to right, hsl(233, 74%, 25%), hsl(233, 74%, 5%))
hex
background-color: #111C6F;
tailwind
bg-[hsl(233,74%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 74%, 25%, 0.4);
css variable
--color-primary: hsl(233, 74%, 25%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 74%, 25%)?
HEX: #111C6F | RGB: rgb(17, 28, 111) | CMYK: 85%, 75%, 0%, 56% | HSV: 233°, 85%, 44%. Copy any format from the conversion table above.
What colors go well with #111C6F?
The complementary color is HSL(53, 74%, 25%). 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, 74%, 25%) in CSS?
As HSL: color: hsl(233, 74%, 25%); — As HEX: color: #111C6F; — As RGB: color: rgb(17, 28, 111); — Tailwind CSS: bg-[hsl(233,74%,25%)] — CSS variable: --color-primary: hsl(233, 74%, 25%);