#06122F#06122F

#06122F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.2% C 0.061 H 263.9°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#06122F
RGBrgb(6, 18, 47)
HSLhsl(222, 77%, 10%)
HSVhsv(222, 87%, 18%)
CMYKcmyk(87.2%, 61.7%, 0%, 81.6%)
CIE-LABlab(6.11, 6.61, -20.75)
CIE-LCHlch(6.11, 21.78, 287.66°)
OKLaboklab(19.17% -0.0065 -0.0605)
OKLCHoklch(19.17% 0.061 263.9)
XYZxyz(0.8043, 0.6765, 2.7770)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06122F #2F2306
analogous
#06262F #06122F #0E062F
triadic
#06122F #2F0612 #122F06
tetradic
#06122F #2F0626 #2F2306 #062F0E
square
#06122F #2F0626 #2F2306 #062F0E
split-complementary
#06122F #2F0E06 #262F06
monochromatic
#030A1B #030A1B #06122F #0D2765 #143C9C

Accessibility & contrast

On white

18.50
#06122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#06122F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06122F
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06122F#FFFFFF#000000##FFFFFF
##06122F1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031630
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#00191E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #06122f;
/* rgb */ color: rgb(6, 18, 47);
/* oklch */ color: oklch(19.2% 0.061 263.9);
Tailwind
colors: {
  custom: {
    50: '#4c4f68',
    500: '#06122f',
    950: '#000000',
  },
}
SCSS
$custom: #06122f;
$custom-light: #4c4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#06122f",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 222.439,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19168,
    "c": 0.06086,
    "h": 263.9
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#06122F
secondary
#705921
accent
#BC34F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #06122F

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

Preview Lab → · Contrast checker → · Palette generator →

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