HSL(238, 74%, 44%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(238,74%,44%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(238, 74%, 44%) | color: hsl(238, 74%, 44%) | |
| HEX | #1D23C3 | color: #1D23C3 | |
| RGB | rgb(29, 35, 195) | color: rgb(29, 35, 195) | |
| CMYK | cmyk(85%, 82%, 0%, 24%) | — | |
| HSV | hsv(238, 85%, 76%) | — | |
| HWB | hwb(238 11% 24%) | color: hwb(238 11% 24%) | |
| OKLCH | oklch(0.4015 0.2342 268.15) | color: oklch(0.4015 0.2342 268.15) | |
| Lab | lab(27.85 54.31 -80.81) | color: lab(27.85 54.31 -80.81) | |
| LCH | lch(27.85 97.36 303.9) | color: lch(27.85 97.36 303.9) |
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)
#20209C — rgb(32, 32, 156)
Deuteranopia (Green-blind)
#1F1F93 — rgb(31, 31, 147)
Tritanopia (Blue-blind)
#1D7E77 — rgb(29, 126, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(238, 74%, 44%);
text
color: hsl(238, 74%, 44%);
border
border: 2px solid hsl(238, 74%, 44%);
gradient light
background: linear-gradient(to right, hsl(238, 74%, 64%), hsl(238, 74%, 44%));
gradient dark
background: linear-gradient(to right, hsl(238, 74%, 44%), hsl(238, 74%, 24%))
hex
background-color: #1D23C3;
tailwind
bg-[hsl(238,74%,44%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(238, 74%, 44%, 0.4);
css variable
--color-primary: hsl(238, 74%, 44%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(238, 74%, 44%)?
HEX: #1D23C3 | RGB: rgb(29, 35, 195) | CMYK: 85%, 82%, 0%, 24% | HSV: 238°, 85%, 76%. Copy any format from the conversion table above.
What colors go well with #1D23C3?
The complementary color is HSL(58, 74%, 44%). For a triadic harmony, use hues 238°, 358°, and 118°. For analogous combinations, try hues 208° and 268°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(238, 74%, 44%) in CSS?
As HSL: color: hsl(238, 74%, 44%); — As HEX: color: #1D23C3; — As RGB: color: rgb(29, 35, 195); — Tailwind CSS: bg-[hsl(238,74%,44%)] — CSS variable: --color-primary: hsl(238, 74%, 44%);