HSL(233, 74%, 47%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(233,74%,47%)]

Color Conversions

Format Value CSS Usage
HSL hsl(233, 74%, 47%) color: hsl(233, 74%, 47%)
HEX #1F34D1 color: #1F34D1
RGB rgb(31, 52, 209) color: rgb(31, 52, 209)
CMYK cmyk(85%, 75%, 0%, 18%)
HSV hsv(233, 85%, 82%)
HWB hwb(233 12% 18%) color: hwb(233 12% 18%)
OKLCH oklch(0.4397 0.2354 267.3) color: oklch(0.4397 0.2354 267.3)
Lab lab(32.59 50.13 -81.12) color: lab(32.59 50.13 -81.12)
LCH lch(32.59 95.36 301.71) color: lch(32.59 95.36 301.71)

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 8.5:1
vs Black 2.47: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)

#2828AB — rgb(40, 40, 171)

Deuteranopia (Green-blind)

#2725A2 — rgb(39, 37, 162)

Tritanopia (Blue-blind)

#208D86 — rgb(32, 141, 134)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(233, 74%, 47%);

text

color: hsl(233, 74%, 47%);

border

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

gradient light

background: linear-gradient(to right, hsl(233, 74%, 67%), hsl(233, 74%, 47%));

gradient dark

background: linear-gradient(to right, hsl(233, 74%, 47%), hsl(233, 74%, 27%))

hex

background-color: #1F34D1;

tailwind

bg-[hsl(233,74%,47%)]

box shadow

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

css variable

--color-primary: hsl(233, 74%, 47%);

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, 74%, 47%)?

HEX: #1F34D1 | RGB: rgb(31, 52, 209) | CMYK: 85%, 75%, 0%, 18% | HSV: 233°, 85%, 82%. Copy any format from the conversion table above.

What colors go well with #1F34D1?

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

As HSL: color: hsl(233, 74%, 47%); — As HEX: color: #1F34D1; — As RGB: color: rgb(31, 52, 209); — Tailwind CSS: bg-[hsl(233,74%,47%)] — CSS variable: --color-primary: hsl(233, 74%, 47%);