HSL(233, 70%, 38%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,70%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 70%, 38%) | color: hsl(233, 70%, 38%) | |
| HEX | #1D2DA5 | color: #1D2DA5 | |
| RGB | rgb(29, 45, 165) | color: rgb(29, 45, 165) | |
| CMYK | cmyk(82%, 73%, 0%, 35%) | — | |
| HSV | hsv(233, 82%, 65%) | — | |
| HWB | hwb(233 12% 35%) | color: hwb(233 12% 35%) | |
| OKLCH | oklch(0.3807 0.1898 268.39) | color: oklch(0.3807 0.1898 268.39) | |
| Lab | lab(26.31 38.85 -65.46) | color: lab(26.31 38.85 -65.46) | |
| LCH | lch(26.31 76.12 300.69) | color: lch(26.31 76.12 300.69) |
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)
#242488 — rgb(36, 36, 136)
Deuteranopia (Green-blind)
#232281 — rgb(35, 34, 129)
Tritanopia (Blue-blind)
#1E716C — rgb(30, 113, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 70%, 38%);
text
color: hsl(233, 70%, 38%);
border
border: 2px solid hsl(233, 70%, 38%);
gradient light
background: linear-gradient(to right, hsl(233, 70%, 58%), hsl(233, 70%, 38%));
gradient dark
background: linear-gradient(to right, hsl(233, 70%, 38%), hsl(233, 70%, 18%))
hex
background-color: #1D2DA5;
tailwind
bg-[hsl(233,70%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 70%, 38%, 0.4);
css variable
--color-primary: hsl(233, 70%, 38%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 70%, 38%)?
HEX: #1D2DA5 | RGB: rgb(29, 45, 165) | CMYK: 82%, 73%, 0%, 35% | HSV: 233°, 82%, 65%. Copy any format from the conversion table above.
What colors go well with #1D2DA5?
The complementary color is HSL(53, 70%, 38%). 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%, 38%) in CSS?
As HSL: color: hsl(233, 70%, 38%); — As HEX: color: #1D2DA5; — As RGB: color: rgb(29, 45, 165); — Tailwind CSS: bg-[hsl(233,70%,38%)] — CSS variable: --color-primary: hsl(233, 70%, 38%);