#060418#060418

#060418 is a very dark, muted blue. Relative luminance 0.002; OKLCH L 12.8% C 0.046 H 284.3°. Best body text is #FFFFFF at 20.23:1 contrast (WCAG AA passes).

Color values

HEX#060418
RGBrgb(6, 4, 24)
HSLhsl(246, 71%, 5%)
HSVhsv(246, 83%, 9%)
CMYKcmyk(75%, 83.3%, 0%, 90.6%)
CIE-LABlab(1.73, 4.15, -9.69)
CIE-LCHlch(1.73, 10.54, 293.18°)
OKLaboklab(12.83% 0.0113 -0.0441)
OKLCHoklch(12.83% 0.046 284.3)
XYZxyz(0.2833, 0.1915, 0.8860)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060418 #161804
analogous
#040C18 #060418 #100418
triadic
#060418 #180604 #041806
tetradic
#060418 #18040C #161804 #041810
square
#060418 #18040C #161804 #041810
split-complementary
#060418 #181004 #0C1804
monochromatic
#07041A #07041A #07041A #130D4C #201581

Accessibility & contrast

On white

20.23
#060418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#060418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060418
20.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060418#FFFFFF#000000##FFFFFF
##0604181.0020.231.0420.23
#FFFFFF20.231.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000719
Deuteranopia (green-blind)
#000618
Tritanopia (blue-blind)
#02080C
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #060418;
/* rgb */ color: rgb(6, 4, 24);
/* oklch */ color: oklch(12.8% 0.046 284.3);
Tailwind
colors: {
  custom: {
    50: '#494854',
    500: '#060418',
    950: '#000000',
  },
}
SCSS
$custom: #060418;
$custom-light: #494854;
$custom-dark: #000000;
JSON
{
  "hex": "#060418",
  "rgb": {
    "r": 6,
    "g": 4,
    "b": 24
  },
  "hsl": {
    "h": 246,
    "s": 71.429,
    "l": 5.49
  },
  "oklch": {
    "l": 0.1283,
    "c": 0.04553,
    "h": 284.3
  },
  "luminance": 0.00191
}

Semantic roles & 50–950 ramp

primary
#060418
secondary
#545A1E
accent
#EE3ADC
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000002
muted
#777778

Preview Lab

Preview with #060418

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

Preview Lab → · Contrast checker → · Palette generator →

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