HSL(233, 65%, 25%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,65%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 65%, 25%) | color: hsl(233, 65%, 25%) | |
| HEX | #162069 | color: #162069 | |
| RGB | rgb(22, 32, 105) | color: rgb(22, 32, 105) | |
| CMYK | cmyk(79%, 70%, 0%, 59%) | — | |
| HSV | hsv(233, 79%, 41%) | — | |
| HWB | hwb(233 9% 59%) | color: hwb(233 9% 59%) | |
| OKLCH | oklch(0.2908 0.1266 270.12) | color: oklch(0.2908 0.1266 270.12) | |
| Lab | lab(16.62 24.1 -43.77) | color: lab(16.62 24.1 -43.77) | |
| LCH | lch(16.62 49.97 298.84) | color: lch(16.62 49.97 298.84) |
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)
#1A1A57 — rgb(26, 26, 87)
Deuteranopia (Green-blind)
#1A1953 — rgb(26, 25, 83)
Tritanopia (Blue-blind)
#174946 — rgb(23, 73, 70)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 65%, 25%);
text
color: hsl(233, 65%, 25%);
border
border: 2px solid hsl(233, 65%, 25%);
gradient light
background: linear-gradient(to right, hsl(233, 65%, 45%), hsl(233, 65%, 25%));
gradient dark
background: linear-gradient(to right, hsl(233, 65%, 25%), hsl(233, 65%, 5%))
hex
background-color: #162069;
tailwind
bg-[hsl(233,65%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 65%, 25%, 0.4);
css variable
--color-primary: hsl(233, 65%, 25%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 65%, 25%)?
HEX: #162069 | RGB: rgb(22, 32, 105) | CMYK: 79%, 70%, 0%, 59% | HSV: 233°, 79%, 41%. Copy any format from the conversion table above.
What colors go well with #162069?
The complementary color is HSL(53, 65%, 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, 65%, 25%) in CSS?
As HSL: color: hsl(233, 65%, 25%); — As HEX: color: #162069; — As RGB: color: rgb(22, 32, 105); — Tailwind CSS: bg-[hsl(233,65%,25%)] — CSS variable: --color-primary: hsl(233, 65%, 25%);