HSL(227, 75%, 10%)

Very Dark Blue — Blue color

Adjust Color

Color Information

Color Name

Very Dark Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(227,75%,10%)]

Color Conversions

Format Value CSS Usage
HSL hsl(227, 75%, 10%) color: hsl(227, 75%, 10%)
HEX #060F2D color: #060F2D
RGB rgb(6, 15, 45) color: rgb(6, 15, 45)
CMYK cmyk(87%, 67%, 0%, 82%)
HSV hsv(226, 87%, 18%)
HWB hwb(226 2% 82%) color: hwb(226 2% 82%)
OKLCH oklch(0.1819 0.0621 266.69) color: oklch(0.1819 0.0621 266.69)
Lab lab(5.15 7.29 -20.79) color: lab(5.15 7.29 -20.79)
LCH lch(5.15 22.03 289.32) color: lch(5.15 22.03 289.32)

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 18.85:1
vs Black 1.11: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)

#0A0A26 — rgb(10, 10, 38)

Deuteranopia (Green-blind)

#090924 — rgb(9, 9, 36)

Tritanopia (Blue-blind)

#06201F — rgb(6, 32, 31)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(227, 75%, 10%);

text

color: hsl(227, 75%, 10%);

border

border: 2px solid hsl(227, 75%, 10%);

gradient light

background: linear-gradient(to right, hsl(227, 75%, 30%), hsl(227, 75%, 10%));

gradient dark

background: linear-gradient(to right, hsl(227, 75%, 10%), hsl(227, 75%, 0%))

hex

background-color: #060F2D;

tailwind

bg-[hsl(227,75%,10%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(227, 75%, 10%, 0.4);

css variable

--color-primary: hsl(227, 75%, 10%);

Related Colors

Use Cases for Very Dark Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(227, 75%, 10%)?

HEX: #060F2D | RGB: rgb(6, 15, 45) | CMYK: 87%, 67%, 0%, 82% | HSV: 226°, 87%, 18%. Copy any format from the conversion table above.

What colors go well with #060F2D?

The complementary color is HSL(47, 75%, 10%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(227, 75%, 10%) in CSS?

As HSL: color: hsl(227, 75%, 10%); — As HEX: color: #060F2D; — As RGB: color: rgb(6, 15, 45); — Tailwind CSS: bg-[hsl(227,75%,10%)] — CSS variable: --color-primary: hsl(227, 75%, 10%);