#06122D#06122D

#06122D is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.0% C 0.057 H 263.2°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#06122D
RGBrgb(6, 18, 45)
HSLhsl(222, 76%, 10%)
HSVhsv(222, 87%, 18%)
CMYKcmyk(86.7%, 60%, 0%, 82.4%)
CIE-LABlab(5.97, 5.61, -19.49)
CIE-LCHlch(5.97, 20.28, 286.06°)
OKLaboklab(18.98% -0.0068 -0.0569)
OKLCHoklch(18.98% 0.057 263.2)
XYZxyz(0.7649, 0.6607, 2.5693)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06122D #2D2106
analogous
#06262D #06122D #0D062D
triadic
#06122D #2D0612 #122D06
tetradic
#06122D #2D0626 #2D2106 #062D0D
square
#06122D #2D0626 #2D2106 #062D0D
split-complementary
#06122D #2D0D06 #262D06
monochromatic
#040B1B #040B1B #06122D #0D2863 #143D99

Accessibility & contrast

On white

18.55
#06122D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#06122D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06122D
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06122D#FFFFFF#000000##FFFFFF
##06122D1.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04152E
Deuteranopia (green-blind)
#00112C
Tritanopia (blue-blind)
#00181D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #06122d;
/* rgb */ color: rgb(6, 18, 45);
/* oklch */ color: oklch(19.0% 0.057 263.2);
Tailwind
colors: {
  custom: {
    50: '#4b4f66',
    500: '#06122d',
    950: '#000000',
  },
}
SCSS
$custom: #06122d;
$custom-light: #4b4f66;
$custom-dark: #000000;
JSON
{
  "hex": "#06122d",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 45
  },
  "hsl": {
    "h": 221.538,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.18983,
    "c": 0.05735,
    "h": 263.2
  },
  "luminance": 0.00661
}

Semantic roles & 50–950 ramp

primary
#06122D
secondary
#6E5621
accent
#B835F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #06122D

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

Preview Lab → · Contrast checker → · Palette generator →

#06122D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva