HSL(237, 72%, 35%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,72%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 72%, 35%) | color: hsl(237, 72%, 35%) | |
| HEX | #191F9A | color: #191F9A | |
| RGB | rgb(25, 31, 154) | color: rgb(25, 31, 154) | |
| CMYK | cmyk(84%, 80%, 0%, 40%) | — | |
| HSV | hsv(237, 84%, 60%) | — | |
| HWB | hwb(237 10% 40%) | color: hwb(237 10% 40%) | |
| OKLCH | oklch(0.346 0.1909 269.05) | color: oklch(0.346 0.1909 269.05) | |
| Lab | lab(22.01 42.92 -65.88) | color: lab(22.01 42.92 -65.88) | |
| LCH | lch(22.01 78.63 303.08) | color: lch(22.01 78.63 303.08) |
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)
#1C1C7C — rgb(28, 28, 124)
Deuteranopia (Green-blind)
#1B1B75 — rgb(27, 27, 117)
Tritanopia (Blue-blind)
#196560 — rgb(25, 101, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 72%, 35%);
text
color: hsl(237, 72%, 35%);
border
border: 2px solid hsl(237, 72%, 35%);
gradient light
background: linear-gradient(to right, hsl(237, 72%, 55%), hsl(237, 72%, 35%));
gradient dark
background: linear-gradient(to right, hsl(237, 72%, 35%), hsl(237, 72%, 15%))
hex
background-color: #191F9A;
tailwind
bg-[hsl(237,72%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 72%, 35%, 0.4);
css variable
--color-primary: hsl(237, 72%, 35%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 72%, 35%)?
HEX: #191F9A | RGB: rgb(25, 31, 154) | CMYK: 84%, 80%, 0%, 40% | HSV: 237°, 84%, 60%. Copy any format from the conversion table above.
What colors go well with #191F9A?
The complementary color is HSL(57, 72%, 35%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 72%, 35%) in CSS?
As HSL: color: hsl(237, 72%, 35%); — As HEX: color: #191F9A; — As RGB: color: rgb(25, 31, 154); — Tailwind CSS: bg-[hsl(237,72%,35%)] — CSS variable: --color-primary: hsl(237, 72%, 35%);