HSL(229, 82%, 70%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,82%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 82%, 70%) | color: hsl(229, 82%, 70%) | |
| HEX | #748BF1 | color: #748BF1 | |
| RGB | rgb(116, 139, 241) | color: rgb(116, 139, 241) | |
| CMYK | cmyk(52%, 42%, 0%, 5%) | — | |
| HSV | hsv(229, 52%, 95%) | — | |
| HWB | hwb(229 46% 5%) | color: hwb(229 46% 5%) | |
| OKLCH | oklch(0.6656 0.1532 272.07) | color: oklch(0.6656 0.1532 272.07) | |
| Lab | lab(60.36 19.8 -53.93) | color: lab(60.36 19.8 -53.93) | |
| LCH | lch(60.36 57.45 290.16) | color: lch(60.36 57.45 290.16) |
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)
#7E7ED8 — rgb(126, 126, 216)
Deuteranopia (Green-blind)
#7D7BD2 — rgb(125, 123, 210)
Tritanopia (Blue-blind)
#75C5C1 — rgb(117, 197, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 82%, 70%);
text
color: hsl(229, 82%, 70%);
border
border: 2px solid hsl(229, 82%, 70%);
gradient light
background: linear-gradient(to right, hsl(229, 82%, 90%), hsl(229, 82%, 70%));
gradient dark
background: linear-gradient(to right, hsl(229, 82%, 70%), hsl(229, 82%, 50%))
hex
background-color: #748BF1;
tailwind
bg-[hsl(229,82%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 82%, 70%, 0.4);
css variable
--color-primary: hsl(229, 82%, 70%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 82%, 70%)?
HEX: #748BF1 | RGB: rgb(116, 139, 241) | CMYK: 52%, 42%, 0%, 5% | HSV: 229°, 52%, 95%. Copy any format from the conversion table above.
What colors go well with #748BF1?
The complementary color is HSL(49, 82%, 70%). 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, 82%, 70%) in CSS?
As HSL: color: hsl(229, 82%, 70%); — As HEX: color: #748BF1; — As RGB: color: rgb(116, 139, 241); — Tailwind CSS: bg-[hsl(229,82%,70%)] — CSS variable: --color-primary: hsl(229, 82%, 70%);