HSL(223, 60%, 34%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(223,60%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(223, 60%, 34%) | color: hsl(223, 60%, 34%) | |
| HEX | #23408B | color: #23408B | |
| RGB | rgb(35, 64, 139) | color: rgb(35, 64, 139) | |
| CMYK | cmyk(75%, 54%, 0%, 45%) | — | |
| HSV | hsv(223, 75%, 55%) | — | |
| HWB | hwb(223 14% 45%) | color: hwb(223 14% 45%) | |
| OKLCH | oklch(0.3951 0.1298 265.03) | color: oklch(0.3951 0.1298 265.03) | |
| Lab | lab(29.13 16.9 -44.95) | color: lab(29.13 16.9 -44.95) | |
| LCH | lch(29.13 48.02 290.6) | color: lch(29.13 48.02 290.6) |
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)
#303079 — rgb(48, 48, 121)
Deuteranopia (Green-blind)
#2E2C75 — rgb(46, 44, 117)
Tritanopia (Blue-blind)
#246B67 — rgb(36, 107, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(223, 60%, 34%);
text
color: hsl(223, 60%, 34%);
border
border: 2px solid hsl(223, 60%, 34%);
gradient light
background: linear-gradient(to right, hsl(223, 60%, 54%), hsl(223, 60%, 34%));
gradient dark
background: linear-gradient(to right, hsl(223, 60%, 34%), hsl(223, 60%, 14%))
hex
background-color: #23408B;
tailwind
bg-[hsl(223,60%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(223, 60%, 34%, 0.4);
css variable
--color-primary: hsl(223, 60%, 34%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(223, 60%, 34%)?
HEX: #23408B | RGB: rgb(35, 64, 139) | CMYK: 75%, 54%, 0%, 45% | HSV: 223°, 75%, 55%. Copy any format from the conversion table above.
What colors go well with #23408B?
The complementary color is HSL(43, 60%, 34%). For a triadic harmony, use hues 223°, 343°, and 103°. For analogous combinations, try hues 193° and 253°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(223, 60%, 34%) in CSS?
As HSL: color: hsl(223, 60%, 34%); — As HEX: color: #23408B; — As RGB: color: rgb(35, 64, 139); — Tailwind CSS: bg-[hsl(223,60%,34%)] — CSS variable: --color-primary: hsl(223, 60%, 34%);