HSL(226, 70%, 48%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(226,70%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(226, 70%, 48%) | color: hsl(226, 70%, 48%) | |
| HEX | #254DD0 | color: #254DD0 | |
| RGB | rgb(37, 77, 208) | color: rgb(37, 77, 208) | |
| CMYK | cmyk(82%, 63%, 0%, 18%) | — | |
| HSV | hsv(226, 82%, 82%) | — | |
| HWB | hwb(226 15% 18%) | color: hwb(226 15% 18%) | |
| OKLCH | oklch(0.4814 0.2066 265.61) | color: oklch(0.4814 0.2066 265.61) | |
| Lab | lab(38.29 34.96 -71.14) | color: lab(38.29 34.96 -71.14) | |
| LCH | lch(38.29 79.27 296.17) | color: lch(38.29 79.27 296.17) |
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)
#3637B0 — rgb(54, 55, 176)
Deuteranopia (Green-blind)
#3431A9 — rgb(52, 49, 169)
Tritanopia (Blue-blind)
#279792 — rgb(39, 151, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(226, 70%, 48%);
text
color: hsl(226, 70%, 48%);
border
border: 2px solid hsl(226, 70%, 48%);
gradient light
background: linear-gradient(to right, hsl(226, 70%, 68%), hsl(226, 70%, 48%));
gradient dark
background: linear-gradient(to right, hsl(226, 70%, 48%), hsl(226, 70%, 28%))
hex
background-color: #254DD0;
tailwind
bg-[hsl(226,70%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(226, 70%, 48%, 0.4);
css variable
--color-primary: hsl(226, 70%, 48%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(226, 70%, 48%)?
HEX: #254DD0 | RGB: rgb(37, 77, 208) | CMYK: 82%, 63%, 0%, 18% | HSV: 226°, 82%, 82%. Copy any format from the conversion table above.
What colors go well with #254DD0?
The complementary color is HSL(46, 70%, 48%). For a triadic harmony, use hues 226°, 346°, and 106°. For analogous combinations, try hues 196° and 256°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(226, 70%, 48%) in CSS?
As HSL: color: hsl(226, 70%, 48%); — As HEX: color: #254DD0; — As RGB: color: rgb(37, 77, 208); — Tailwind CSS: bg-[hsl(226,70%,48%)] — CSS variable: --color-primary: hsl(226, 70%, 48%);