HSL(229, 96%, 68%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,96%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 96%, 68%) | color: hsl(229, 96%, 68%) | |
| HEX | #5F7CFC | color: #5F7CFC | |
| RGB | rgb(95, 124, 252) | color: rgb(95, 124, 252) | |
| CMYK | cmyk(62%, 51%, 0%, 1%) | — | |
| HSV | hsv(229, 62%, 99%) | — | |
| HWB | hwb(229 38% 1%) | color: hwb(229 38% 1%) | |
| OKLCH | oklch(0.631 0.1925 270.41) | color: oklch(0.631 0.1925 270.41) | |
| Lab | lab(55.96 28.32 -67.13) | color: lab(55.96 28.32 -67.13) | |
| LCH | lch(55.96 72.86 292.87) | color: lch(55.96 72.86 292.87) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#6C6CDD — rgb(108, 108, 221)
Deuteranopia (Green-blind)
#6A68D6 — rgb(106, 104, 214)
Tritanopia (Blue-blind)
#60C5BF — rgb(96, 197, 191)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 96%, 68%);
text
color: hsl(229, 96%, 68%);
border
border: 2px solid hsl(229, 96%, 68%);
gradient light
background: linear-gradient(to right, hsl(229, 96%, 88%), hsl(229, 96%, 68%));
gradient dark
background: linear-gradient(to right, hsl(229, 96%, 68%), hsl(229, 96%, 48%))
hex
background-color: #5F7CFC;
tailwind
bg-[hsl(229,96%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 96%, 68%, 0.4);
css variable
--color-primary: hsl(229, 96%, 68%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 96%, 68%)?
HEX: #5F7CFC | RGB: rgb(95, 124, 252) | CMYK: 62%, 51%, 0%, 1% | HSV: 229°, 62%, 99%. Copy any format from the conversion table above.
What colors go well with #5F7CFC?
The complementary color is HSL(49, 96%, 68%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 96%, 68%) in CSS?
As HSL: color: hsl(229, 96%, 68%); — As HEX: color: #5F7CFC; — As RGB: color: rgb(95, 124, 252); — Tailwind CSS: bg-[hsl(229,96%,68%)] — CSS variable: --color-primary: hsl(229, 96%, 68%);