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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 6.88:1
vs Black 3.05:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Corporate branding Trust signals Tech products Social media Primary buttons

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%);