HSL(233, 60%, 50%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(233,60%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(233, 60%, 50%) color: hsl(233, 60%, 50%)
HEX #3345CC color: #3345CC
RGB rgb(51, 69, 204) color: rgb(51, 69, 204)
CMYK cmyk(75%, 66%, 0%, 20%)
HSV hsv(233, 75%, 80%)
HWB hwb(233 20% 20%) color: hwb(233 20% 20%)
OKLCH oklch(0.4694 0.2071 270.06) color: oklch(0.4694 0.2071 270.06)
Lab lab(36.59 39.8 -71.6) color: lab(36.59 39.8 -71.6)
LCH lch(36.59 81.92 299.07) color: lch(36.59 81.92 299.07)

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.33:1
vs Black 2.86: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)

#3B3BAB — rgb(59, 59, 171)

Deuteranopia (Green-blind)

#3A38A4 — rgb(58, 56, 164)

Tritanopia (Blue-blind)

#34928C — rgb(52, 146, 140)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(233, 60%, 50%);

text

color: hsl(233, 60%, 50%);

border

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

gradient light

background: linear-gradient(to right, hsl(233, 60%, 70%), hsl(233, 60%, 50%));

gradient dark

background: linear-gradient(to right, hsl(233, 60%, 50%), hsl(233, 60%, 30%))

hex

background-color: #3345CC;

tailwind

bg-[hsl(233,60%,50%)]

box shadow

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

css variable

--color-primary: hsl(233, 60%, 50%);

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, 60%, 50%)?

HEX: #3345CC | RGB: rgb(51, 69, 204) | CMYK: 75%, 66%, 0%, 20% | HSV: 233°, 75%, 80%. Copy any format from the conversion table above.

What colors go well with #3345CC?

The complementary color is HSL(53, 60%, 50%). 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, 60%, 50%) in CSS?

As HSL: color: hsl(233, 60%, 50%); — As HEX: color: #3345CC; — As RGB: color: rgb(51, 69, 204); — Tailwind CSS: bg-[hsl(233,60%,50%)] — CSS variable: --color-primary: hsl(233, 60%, 50%);