HSL(233, 70%, 41%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,70%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 70%, 41%) | color: hsl(233, 70%, 41%) | |
| HEX | #1F30B2 | color: #1F30B2 | |
| RGB | rgb(31, 48, 178) | color: rgb(31, 48, 178) | |
| CMYK | cmyk(83%, 73%, 0%, 30%) | — | |
| HSV | hsv(233, 83%, 70%) | — | |
| HWB | hwb(233 12% 30%) | color: hwb(233 12% 30%) | |
| OKLCH | oklch(0.4002 0.2023 268.25) | color: oklch(0.4002 0.2023 268.25) | |
| Lab | lab(28.43 41.79 -69.78) | color: lab(28.43 41.79 -69.78) | |
| LCH | lch(28.43 81.34 300.92) | color: lch(28.43 81.34 300.92) |
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)
#262793 — rgb(38, 39, 147)
Deuteranopia (Green-blind)
#25248B — rgb(37, 36, 139)
Tritanopia (Blue-blind)
#207A74 — rgb(32, 122, 116)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 70%, 41%);
text
color: hsl(233, 70%, 41%);
border
border: 2px solid hsl(233, 70%, 41%);
gradient light
background: linear-gradient(to right, hsl(233, 70%, 61%), hsl(233, 70%, 41%));
gradient dark
background: linear-gradient(to right, hsl(233, 70%, 41%), hsl(233, 70%, 21%))
hex
background-color: #1F30B2;
tailwind
bg-[hsl(233,70%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 70%, 41%, 0.4);
css variable
--color-primary: hsl(233, 70%, 41%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 70%, 41%)?
HEX: #1F30B2 | RGB: rgb(31, 48, 178) | CMYK: 83%, 73%, 0%, 30% | HSV: 233°, 83%, 70%. Copy any format from the conversion table above.
What colors go well with #1F30B2?
The complementary color is HSL(53, 70%, 41%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 70%, 41%) in CSS?
As HSL: color: hsl(233, 70%, 41%); — As HEX: color: #1F30B2; — As RGB: color: rgb(31, 48, 178); — Tailwind CSS: bg-[hsl(233,70%,41%)] — CSS variable: --color-primary: hsl(233, 70%, 41%);