HSL(232, 80%, 41%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,80%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 80%, 41%) | color: hsl(232, 80%, 41%) | |
| HEX | #152BBC | color: #152BBC | |
| RGB | rgb(21, 43, 188) | color: rgb(21, 43, 188) | |
| CMYK | cmyk(89%, 77%, 0%, 26%) | — | |
| HSV | hsv(232, 89%, 74%) | — | |
| HWB | hwb(232 8% 26%) | color: hwb(232 8% 26%) | |
| OKLCH | oklch(0.4005 0.2213 266.41) | color: oklch(0.4005 0.2213 266.41) | |
| Lab | lab(28.16 47.63 -76.18) | color: lab(28.16 47.63 -76.18) | |
| LCH | lch(28.16 89.84 302.01) | color: lch(28.16 89.84 302.01) |
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)
#1F1F99 — rgb(31, 31, 153)
Deuteranopia (Green-blind)
#1D1C91 — rgb(29, 28, 145)
Tritanopia (Blue-blind)
#167D77 — rgb(22, 125, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 80%, 41%);
text
color: hsl(232, 80%, 41%);
border
border: 2px solid hsl(232, 80%, 41%);
gradient light
background: linear-gradient(to right, hsl(232, 80%, 61%), hsl(232, 80%, 41%));
gradient dark
background: linear-gradient(to right, hsl(232, 80%, 41%), hsl(232, 80%, 21%))
hex
background-color: #152BBC;
tailwind
bg-[hsl(232,80%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 80%, 41%, 0.4);
css variable
--color-primary: hsl(232, 80%, 41%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 80%, 41%)?
HEX: #152BBC | RGB: rgb(21, 43, 188) | CMYK: 89%, 77%, 0%, 26% | HSV: 232°, 89%, 74%. Copy any format from the conversion table above.
What colors go well with #152BBC?
The complementary color is HSL(52, 80%, 41%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 80%, 41%) in CSS?
As HSL: color: hsl(232, 80%, 41%); — As HEX: color: #152BBC; — As RGB: color: rgb(21, 43, 188); — Tailwind CSS: bg-[hsl(232,80%,41%)] — CSS variable: --color-primary: hsl(232, 80%, 41%);