HSL(236, 78%, 45%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(236,78%,45%)]

Color Conversions

Format Value CSS Usage
HSL hsl(236, 78%, 45%) color: hsl(236, 78%, 45%)
HEX #1925CC color: #1925CC
RGB rgb(25, 37, 204) color: rgb(25, 37, 204)
CMYK cmyk(88%, 82%, 0%, 20%)
HSV hsv(236, 88%, 80%)
HWB hwb(236 10% 20%) color: hwb(236 10% 20%)
OKLCH oklch(0.4131 0.2436 267.05) color: oklch(0.4131 0.2436 267.05)
Lab lab(29.13 56.02 -83.97) color: lab(29.13 56.02 -83.97)
LCH lch(29.13 100.94 303.71) color: lch(29.13 100.94 303.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 9.64:1
vs Black 2.18: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)

#1E1EA4 — rgb(30, 30, 164)

Deuteranopia (Green-blind)

#1E1D9A — rgb(30, 29, 154)

Tritanopia (Blue-blind)

#1A847D — rgb(26, 132, 125)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(236, 78%, 45%);

text

color: hsl(236, 78%, 45%);

border

border: 2px solid hsl(236, 78%, 45%);

gradient light

background: linear-gradient(to right, hsl(236, 78%, 65%), hsl(236, 78%, 45%));

gradient dark

background: linear-gradient(to right, hsl(236, 78%, 45%), hsl(236, 78%, 25%))

hex

background-color: #1925CC;

tailwind

bg-[hsl(236,78%,45%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(236, 78%, 45%, 0.4);

css variable

--color-primary: hsl(236, 78%, 45%);

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(236, 78%, 45%)?

HEX: #1925CC | RGB: rgb(25, 37, 204) | CMYK: 88%, 82%, 0%, 20% | HSV: 236°, 88%, 80%. Copy any format from the conversion table above.

What colors go well with #1925CC?

The complementary color is HSL(56, 78%, 45%). For a triadic harmony, use hues 236°, 356°, and 116°. For analogous combinations, try hues 206° and 266°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(236, 78%, 45%) in CSS?

As HSL: color: hsl(236, 78%, 45%); — As HEX: color: #1925CC; — As RGB: color: rgb(25, 37, 204); — Tailwind CSS: bg-[hsl(236,78%,45%)] — CSS variable: --color-primary: hsl(236, 78%, 45%);