HSL(233, 79%, 19%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(233,79%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(233, 79%, 19%) color: hsl(233, 79%, 19%)
HEX #0A1357 color: #0A1357
RGB rgb(10, 19, 87) color: rgb(10, 19, 87)
CMYK cmyk(89%, 78%, 0%, 66%)
HSV hsv(233, 89%, 34%)
HWB hwb(233 4% 66%) color: hwb(233 4% 66%)
OKLCH oklch(0.2403 0.1205 268.33) color: oklch(0.2403 0.1205 268.33)
Lab lab(10.69 24.76 -41.55) color: lab(10.69 24.76 -41.55)
LCH lch(10.69 48.37 300.79) color: lch(10.69 48.37 300.79)

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 16.89:1
vs Black 1.24: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)

#0E0E47 — rgb(14, 14, 71)

Deuteranopia (Green-blind)

#0D0D43 — rgb(13, 13, 67)

Tritanopia (Blue-blind)

#0A3A37 — rgb(10, 58, 55)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(233, 79%, 19%);

text

color: hsl(233, 79%, 19%);

border

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

gradient light

background: linear-gradient(to right, hsl(233, 79%, 39%), hsl(233, 79%, 19%));

gradient dark

background: linear-gradient(to right, hsl(233, 79%, 19%), hsl(233, 79%, 0%))

hex

background-color: #0A1357;

tailwind

bg-[hsl(233,79%,19%)]

box shadow

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

css variable

--color-primary: hsl(233, 79%, 19%);

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, 79%, 19%)?

HEX: #0A1357 | RGB: rgb(10, 19, 87) | CMYK: 89%, 78%, 0%, 66% | HSV: 233°, 89%, 34%. Copy any format from the conversion table above.

What colors go well with #0A1357?

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

As HSL: color: hsl(233, 79%, 19%); — As HEX: color: #0A1357; — As RGB: color: rgb(10, 19, 87); — Tailwind CSS: bg-[hsl(233,79%,19%)] — CSS variable: --color-primary: hsl(233, 79%, 19%);