HSL(233, 48%, 48%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(233,48%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(233, 48%, 48%) color: hsl(233, 48%, 48%)
HEX #404DB5 color: #404DB5
RGB rgb(64, 77, 181) color: rgb(64, 77, 181)
CMYK cmyk(65%, 57%, 0%, 29%)
HSV hsv(233, 65%, 71%)
HWB hwb(233 25% 29%) color: hwb(233 25% 29%)
OKLCH oklch(0.4711 0.1638 273.01) color: oklch(0.4711 0.1638 273.01)
Lab lab(37.36 28.32 -56.86) color: lab(37.36 28.32 -56.86)
LCH lch(37.36 63.52 296.48) color: lch(37.36 63.52 296.48)

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 7.13:1
vs Black 2.95:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#46469C — rgb(70, 70, 156)

Deuteranopia (Green-blind)

#454496 — rgb(69, 68, 150)

Tritanopia (Blue-blind)

#418884 — rgb(65, 136, 132)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(233, 48%, 48%);

text

color: hsl(233, 48%, 48%);

border

border: 2px solid hsl(233, 48%, 48%);

gradient light

background: linear-gradient(to right, hsl(233, 48%, 68%), hsl(233, 48%, 48%));

gradient dark

background: linear-gradient(to right, hsl(233, 48%, 48%), hsl(233, 48%, 28%))

hex

background-color: #404DB5;

tailwind

bg-[hsl(233,48%,48%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(233, 48%, 48%, 0.4);

css variable

--color-primary: hsl(233, 48%, 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(233, 48%, 48%)?

HEX: #404DB5 | RGB: rgb(64, 77, 181) | CMYK: 65%, 57%, 0%, 29% | HSV: 233°, 65%, 71%. Copy any format from the conversion table above.

What colors go well with #404DB5?

The complementary color is HSL(53, 48%, 48%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(233, 48%, 48%) in CSS?

As HSL: color: hsl(233, 48%, 48%); — As HEX: color: #404DB5; — As RGB: color: rgb(64, 77, 181); — Tailwind CSS: bg-[hsl(233,48%,48%)] — CSS variable: --color-primary: hsl(233, 48%, 48%);