HSL(230, 83%, 20%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,83%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 83%, 20%) | color: hsl(230, 83%, 20%) | |
| HEX | #09175D | color: #09175D | |
| RGB | rgb(9, 23, 93) | color: rgb(9, 23, 93) | |
| CMYK | cmyk(90%, 75%, 0%, 64%) | — | |
| HSV | hsv(230, 90%, 36%) | — | |
| HWB | hwb(230 4% 64%) | color: hwb(230 4% 64%) | |
| OKLCH | oklch(0.2542 0.1244 266.89) | color: oklch(0.2542 0.1244 266.89) | |
| Lab | lab(12.36 24.34 -42.85) | color: lab(12.36 24.34 -42.85) | |
| LCH | lch(12.36 49.28 299.6) | color: lch(12.36 49.28 299.6) |
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)
#0F0F4C — rgb(15, 15, 76)
Deuteranopia (Green-blind)
#0E0D48 — rgb(14, 13, 72)
Tritanopia (Blue-blind)
#0A3F3C — rgb(10, 63, 60)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 83%, 20%);
text
color: hsl(230, 83%, 20%);
border
border: 2px solid hsl(230, 83%, 20%);
gradient light
background: linear-gradient(to right, hsl(230, 83%, 40%), hsl(230, 83%, 20%));
gradient dark
background: linear-gradient(to right, hsl(230, 83%, 20%), hsl(230, 83%, 0%))
hex
background-color: #09175D;
tailwind
bg-[hsl(230,83%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 83%, 20%, 0.4);
css variable
--color-primary: hsl(230, 83%, 20%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 83%, 20%)?
HEX: #09175D | RGB: rgb(9, 23, 93) | CMYK: 90%, 75%, 0%, 64% | HSV: 230°, 90%, 36%. Copy any format from the conversion table above.
What colors go well with #09175D?
The complementary color is HSL(50, 83%, 20%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(230, 83%, 20%) in CSS?
As HSL: color: hsl(230, 83%, 20%); — As HEX: color: #09175D; — As RGB: color: rgb(9, 23, 93); — Tailwind CSS: bg-[hsl(230,83%,20%)] — CSS variable: --color-primary: hsl(230, 83%, 20%);