#06162F#06162F

#06162F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.3% C 0.055 H 258.6°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#06162F
RGBrgb(6, 22, 47)
HSLhsl(217, 77%, 10%)
HSVhsv(217, 87%, 18%)
CMYKcmyk(87.2%, 53.2%, 0%, 81.6%)
CIE-LABlab(7.39, 3.98, -18.72)
CIE-LCHlch(7.39, 19.14, 282.02°)
OKLaboklab(20.27% -0.0109 -0.0536)
OKLCHoklch(20.27% 0.055 258.6)
XYZxyz(0.8749, 0.8177, 2.8005)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06162F #2F1F06
analogous
#062A2F #06162F #0A062F
triadic
#06162F #2F0616 #162F06
tetradic
#06162F #2F062A #2F1F06 #062F0A
square
#06162F #2F062A #2F1F06 #062F0A
split-complementary
#06162F #2F0A06 #2A2F06
monochromatic
#030D1B #030D1B #06162F #0D2F65 #14499C

Accessibility & contrast

On white

18.05
#06162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#06162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06162F
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06162F#FFFFFF#000000##FFFFFF
##06162F1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1830
Deuteranopia (green-blind)
#04152E
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #06162f;
/* rgb */ color: rgb(6, 22, 47);
/* oklch */ color: oklch(20.3% 0.055 258.6);
Tailwind
colors: {
  custom: {
    50: '#4c5267',
    500: '#06162f',
    950: '#000000',
  },
}
SCSS
$custom: #06162f;
$custom-light: #4c5267;
$custom-dark: #000000;
JSON
{
  "hex": "#06162f",
  "rgb": {
    "r": 6,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 216.585,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20266,
    "c": 0.05474,
    "h": 258.6
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#06162F
secondary
#705121
accent
#A934F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #06162F

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

Preview Lab → · Contrast checker → · Palette generator →

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