HSL(231, 73%, 41%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,73%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 73%, 41%) | color: hsl(231, 73%, 41%) | |
| HEX | #1C33B5 | color: #1C33B5 | |
| RGB | rgb(28, 51, 181) | color: rgb(28, 51, 181) | |
| CMYK | cmyk(85%, 72%, 0%, 29%) | — | |
| HSV | hsv(231, 85%, 71%) | — | |
| HWB | hwb(231 11% 29%) | color: hwb(231 11% 29%) | |
| OKLCH | oklch(0.407 0.2036 267.19) | color: oklch(0.407 0.2036 267.19) | |
| Lab | lab(29.28 40.85 -70.15) | color: lab(29.28 40.85 -70.15) | |
| LCH | lch(29.28 81.18 300.21) | color: lch(29.28 81.18 300.21) |
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)
#262696 — rgb(38, 38, 150)
Deuteranopia (Green-blind)
#25238E — rgb(37, 35, 142)
Tritanopia (Blue-blind)
#1D7D77 — rgb(29, 125, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 73%, 41%);
text
color: hsl(231, 73%, 41%);
border
border: 2px solid hsl(231, 73%, 41%);
gradient light
background: linear-gradient(to right, hsl(231, 73%, 61%), hsl(231, 73%, 41%));
gradient dark
background: linear-gradient(to right, hsl(231, 73%, 41%), hsl(231, 73%, 21%))
hex
background-color: #1C33B5;
tailwind
bg-[hsl(231,73%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 73%, 41%, 0.4);
css variable
--color-primary: hsl(231, 73%, 41%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 73%, 41%)?
HEX: #1C33B5 | RGB: rgb(28, 51, 181) | CMYK: 85%, 72%, 0%, 29% | HSV: 231°, 85%, 71%. Copy any format from the conversion table above.
What colors go well with #1C33B5?
The complementary color is HSL(51, 73%, 41%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 73%, 41%) in CSS?
As HSL: color: hsl(231, 73%, 41%); — As HEX: color: #1C33B5; — As RGB: color: rgb(28, 51, 181); — Tailwind CSS: bg-[hsl(231,73%,41%)] — CSS variable: --color-primary: hsl(231, 73%, 41%);