#06142F#06142F

#06142F is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.7% C 0.058 H 261.4°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#06142F
RGBrgb(6, 20, 47)
HSLhsl(220, 77%, 10%)
HSVhsv(220, 87%, 18%)
CMYKcmyk(87.2%, 57.4%, 0%, 81.6%)
CIE-LABlab(6.72, 5.36, -19.77)
CIE-LCHlch(6.72, 20.49, 285.17°)
OKLaboklab(19.71% -0.0086 -0.0571)
OKLCHoklch(19.71% 0.058 261.4)
XYZxyz(0.8382, 0.7442, 2.7882)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06142F #2F2106
analogous
#06282F #06142F #0C062F
triadic
#06142F #2F0614 #142F06
tetradic
#06142F #2F0628 #2F2106 #062F0C
square
#06142F #2F0628 #2F2106 #062F0C
split-complementary
#06142F #2F0C06 #282F06
monochromatic
#030C1B #030C1B #06142F #0D2B65 #14429C

Accessibility & contrast

On white

18.28
#06142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#06142F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06142F
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06142F#FFFFFF#000000##FFFFFF
##06142F1.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061730
Deuteranopia (green-blind)
#01132E
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #06142f;
/* rgb */ color: rgb(6, 20, 47);
/* oklch */ color: oklch(19.7% 0.058 261.4);
Tailwind
colors: {
  custom: {
    50: '#4c5168',
    500: '#06142f',
    950: '#000000',
  },
}
SCSS
$custom: #06142f;
$custom-light: #4c5168;
$custom-dark: #000000;
JSON
{
  "hex": "#06142f",
  "rgb": {
    "r": 6,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 219.512,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1971,
    "c": 0.05775,
    "h": 261.4
  },
  "luminance": 0.00744
}

Semantic roles & 50–950 ramp

primary
#06142F
secondary
#705521
accent
#B234F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #06142F

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

Preview Lab → · Contrast checker → · Palette generator →

#06142F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva