HSL(250, 60%, 23%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(250,60%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(250, 60%, 23%) | color: hsl(250, 60%, 23%) | |
| HEX | #23175E | color: #23175E | |
| RGB | rgb(35, 23, 94) | color: rgb(35, 23, 94) | |
| CMYK | cmyk(63%, 76%, 0%, 63%) | — | |
| HSV | hsv(250, 76%, 37%) | — | |
| HWB | hwb(250 9% 63%) | color: hwb(250 9% 63%) | |
| OKLCH | oklch(0.2731 0.1191 282.86) | color: oklch(0.2731 0.1191 282.86) | |
| Lab | lab(14.28 27.85 -40.3) | color: lab(14.28 27.85 -40.3) | |
| LCH | lch(14.28 48.99 304.65) | color: lch(14.28 48.99 304.65) |
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)
#1E1E4D — rgb(30, 30, 77)
Deuteranopia (Green-blind)
#1F1F49 — rgb(31, 31, 73)
Tritanopia (Blue-blind)
#223F3C — rgb(34, 63, 60)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(250, 60%, 23%);
text
color: hsl(250, 60%, 23%);
border
border: 2px solid hsl(250, 60%, 23%);
gradient light
background: linear-gradient(to right, hsl(250, 60%, 43%), hsl(250, 60%, 23%));
gradient dark
background: linear-gradient(to right, hsl(250, 60%, 23%), hsl(250, 60%, 3%))
hex
background-color: #23175E;
tailwind
bg-[hsl(250,60%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(250, 60%, 23%, 0.4);
css variable
--color-primary: hsl(250, 60%, 23%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(250, 60%, 23%)?
HEX: #23175E | RGB: rgb(35, 23, 94) | CMYK: 63%, 76%, 0%, 63% | HSV: 250°, 76%, 37%. Copy any format from the conversion table above.
What colors go well with #23175E?
The complementary color is HSL(70, 60%, 23%). For a triadic harmony, use hues 250°, 10°, and 130°. For analogous combinations, try hues 220° and 280°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(250, 60%, 23%) in CSS?
As HSL: color: hsl(250, 60%, 23%); — As HEX: color: #23175E; — As RGB: color: rgb(35, 23, 94); — Tailwind CSS: bg-[hsl(250,60%,23%)] — CSS variable: --color-primary: hsl(250, 60%, 23%);