#06162E#06162E

#06162E is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.2% C 0.053 H 257.9°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#06162E
RGBrgb(6, 22, 46)
HSLhsl(216, 77%, 10%)
HSVhsv(216, 87%, 18%)
CMYKcmyk(87%, 52.2%, 0%, 82%)
CIE-LABlab(7.31, 3.50, -18.09)
CIE-LCHlch(7.31, 18.43, 280.94°)
OKLaboklab(20.18% -0.0111 -0.0518)
OKLCHoklch(20.18% 0.053 257.9)
XYZxyz(0.8550, 0.8097, 2.6955)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06162E #2E1E06
analogous
#062A2E #06162E #0A062E
triadic
#06162E #2E0616 #162E06
tetradic
#06162E #2E062A #2E1E06 #062E0A
square
#06162E #2E062A #2E1E06 #062E0A
split-complementary
#06162E #2E0A06 #2A2E06
monochromatic
#040D1B #040D1B #06162E #0D3064 #144A9A

Accessibility & contrast

On white

18.07
#06162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06162E
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06162E#FFFFFF#000000##FFFFFF
##06162E1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182F
Deuteranopia (green-blind)
#04142E
Tritanopia (blue-blind)
#001C1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #06162e;
/* rgb */ color: rgb(6, 22, 46);
/* oklch */ color: oklch(20.2% 0.053 257.9);
Tailwind
colors: {
  custom: {
    50: '#4c5267',
    500: '#06162e',
    950: '#000000',
  },
}
SCSS
$custom: #06162e;
$custom-light: #4c5267;
$custom-dark: #000000;
JSON
{
  "hex": "#06162e",
  "rgb": {
    "r": 6,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 216,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20183,
    "c": 0.05302,
    "h": 257.9
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#06162E
secondary
#6F5021
accent
#A734F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #06162E

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

Preview Lab → · Contrast checker → · Palette generator →

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