#06122E#06122E

#06122E is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.1% C 0.059 H 263.6°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#06122E
RGBrgb(6, 18, 46)
HSLhsl(222, 77%, 10%)
HSVhsv(222, 87%, 18%)
CMYKcmyk(87%, 60.9%, 0%, 82%)
CIE-LABlab(6.04, 6.10, -20.12)
CIE-LCHlch(6.04, 21.03, 286.88°)
OKLaboklab(19.08% -0.0066 -0.0587)
OKLCHoklch(19.08% 0.059 263.6)
XYZxyz(0.7844, 0.6685, 2.6719)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06122E #2E2206
analogous
#06262E #06122E #0E062E
triadic
#06122E #2E0612 #122E06
tetradic
#06122E #2E0626 #2E2206 #062E0E
square
#06122E #2E0626 #2E2206 #062E0E
split-complementary
#06122E #2E0E06 #262E06
monochromatic
#040B1B #040B1B #06122E #0D2764 #143C9A

Accessibility & contrast

On white

18.52
#06122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06122E
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06122E#FFFFFF#000000##FFFFFF
##06122E1.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152F
Deuteranopia (green-blind)
#00122D
Tritanopia (blue-blind)
#00191D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #06122e;
/* rgb */ color: rgb(6, 18, 46);
/* oklch */ color: oklch(19.1% 0.059 263.6);
Tailwind
colors: {
  custom: {
    50: '#4b4f67',
    500: '#06122e',
    950: '#000000',
  },
}
SCSS
$custom: #06122e;
$custom-light: #4b4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#06122e",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 222,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19075,
    "c": 0.05911,
    "h": 263.6
  },
  "luminance": 0.00669
}

Semantic roles & 50–950 ramp

primary
#06122E
secondary
#6F5721
accent
#BA34F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #06122E

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

Preview Lab → · Contrast checker → · Palette generator →

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