#060412#060412

#060412 is a very dark, muted blue. Relative luminance 0.002; OKLCH L 12.2% C 0.034 H 289.2°. Best body text is #FFFFFF at 20.31:1 contrast (WCAG AA passes).

Color values

HEX#060412
RGBrgb(6, 4, 18)
HSLhsl(249, 64%, 4%)
HSVhsv(249, 78%, 7%)
CMYKcmyk(66.7%, 77.8%, 0%, 92.9%)
CIE-LABlab(1.53, 2.74, -5.84)
CIE-LCHlch(1.53, 6.45, 295.12°)
OKLaboklab(12.22% 0.0113 -0.0322)
OKLCHoklch(12.22% 0.034 289.2)
XYZxyz(0.2277, 0.1692, 0.5928)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060412 #101204
analogous
#040912 #060412 #0D0412
triadic
#060412 #120604 #041206
tetradic
#060412 #120409 #101204 #04120D
square
#060412 #120409 #101204 #04120D
split-complementary
#060412 #120D04 #091204
monochromatic
#080619 #080619 #080619 #170F44 #271A76

Accessibility & contrast

On white

20.31
#060412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#060412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060412
20.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060412#FFFFFF#000000##FFFFFF
##0604121.0020.311.0320.31
#FFFFFF20.311.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010613
Deuteranopia (green-blind)
#010512
Tritanopia (blue-blind)
#040609
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #060412;
/* rgb */ color: rgb(6, 4, 18);
/* oklch */ color: oklch(12.2% 0.034 289.2);
Tailwind
colors: {
  custom: {
    50: '#49484f',
    500: '#060412',
    950: '#000000',
  },
}
SCSS
$custom: #060412;
$custom-light: #49484f;
$custom-dark: #000000;
JSON
{
  "hex": "#060412",
  "rgb": {
    "r": 6,
    "g": 4,
    "b": 18
  },
  "hsl": {
    "h": 248.571,
    "s": 63.636,
    "l": 4.314
  },
  "oklch": {
    "l": 0.12215,
    "c": 0.03415,
    "h": 289.2
  },
  "luminance": 0.00169
}

Semantic roles & 50–950 ramp

primary
#060412
secondary
#4B5220
accent
#E741CF
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000002
muted
#777778

Preview Lab

Preview with #060412

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#060412 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva