HSL(232, 70%, 26%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,70%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 70%, 26%) | color: hsl(232, 70%, 26%) | |
| HEX | #142071 | color: #142071 | |
| RGB | rgb(20, 32, 113) | color: rgb(20, 32, 113) | |
| CMYK | cmyk(82%, 72%, 0%, 56%) | — | |
| HSV | hsv(232, 82%, 44%) | — | |
| HWB | hwb(232 8% 56%) | color: hwb(232 8% 56%) | |
| OKLCH | oklch(0.2983 0.1384 268.95) | color: oklch(0.2983 0.1384 268.95) | |
| Lab | lab(17.34 27.04 -47.79) | color: lab(17.34 27.04 -47.79) | |
| LCH | lch(17.34 54.91 299.5) | color: lch(17.34 54.91 299.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)
#19195D — rgb(25, 25, 93)
Deuteranopia (Green-blind)
#191859 — rgb(25, 24, 89)
Tritanopia (Blue-blind)
#154E4B — rgb(21, 78, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 70%, 26%);
text
color: hsl(232, 70%, 26%);
border
border: 2px solid hsl(232, 70%, 26%);
gradient light
background: linear-gradient(to right, hsl(232, 70%, 46%), hsl(232, 70%, 26%));
gradient dark
background: linear-gradient(to right, hsl(232, 70%, 26%), hsl(232, 70%, 6%))
hex
background-color: #142071;
tailwind
bg-[hsl(232,70%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 70%, 26%, 0.4);
css variable
--color-primary: hsl(232, 70%, 26%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 70%, 26%)?
HEX: #142071 | RGB: rgb(20, 32, 113) | CMYK: 82%, 72%, 0%, 56% | HSV: 232°, 82%, 44%. Copy any format from the conversion table above.
What colors go well with #142071?
The complementary color is HSL(52, 70%, 26%). 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, 70%, 26%) in CSS?
As HSL: color: hsl(232, 70%, 26%); — As HEX: color: #142071; — As RGB: color: rgb(20, 32, 113); — Tailwind CSS: bg-[hsl(232,70%,26%)] — CSS variable: --color-primary: hsl(232, 70%, 26%);