HSL(230, 88%, 24%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,88%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 88%, 24%) | color: hsl(230, 88%, 24%) | |
| HEX | #071973 | color: #071973 | |
| RGB | rgb(7, 25, 115) | color: rgb(7, 25, 115) | |
| CMYK | cmyk(94%, 78%, 0%, 55%) | — | |
| HSV | hsv(230, 94%, 45%) | — | |
| HWB | hwb(230 3% 55%) | color: hwb(230 3% 55%) | |
| OKLCH | oklch(0.2834 0.1523 265.74) | color: oklch(0.2834 0.1523 265.74) | |
| Lab | lab(15.37 31.58 -52.35) | color: lab(15.37 31.58 -52.35) | |
| LCH | lch(15.37 61.14 301.1) | color: lch(15.37 61.14 301.1) |
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)
#0F0F5D — rgb(15, 15, 93)
Deuteranopia (Green-blind)
#0E0C58 — rgb(14, 12, 88)
Tritanopia (Blue-blind)
#084C48 — rgb(8, 76, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 88%, 24%);
text
color: hsl(230, 88%, 24%);
border
border: 2px solid hsl(230, 88%, 24%);
gradient light
background: linear-gradient(to right, hsl(230, 88%, 44%), hsl(230, 88%, 24%));
gradient dark
background: linear-gradient(to right, hsl(230, 88%, 24%), hsl(230, 88%, 4%))
hex
background-color: #071973;
tailwind
bg-[hsl(230,88%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 88%, 24%, 0.4);
css variable
--color-primary: hsl(230, 88%, 24%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 88%, 24%)?
HEX: #071973 | RGB: rgb(7, 25, 115) | CMYK: 94%, 78%, 0%, 55% | HSV: 230°, 94%, 45%. Copy any format from the conversion table above.
What colors go well with #071973?
The complementary color is HSL(50, 88%, 24%). 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, 88%, 24%) in CSS?
As HSL: color: hsl(230, 88%, 24%); — As HEX: color: #071973; — As RGB: color: rgb(7, 25, 115); — Tailwind CSS: bg-[hsl(230,88%,24%)] — CSS variable: --color-primary: hsl(230, 88%, 24%);