#06122B#06122B

#06122B is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.8% C 0.054 H 262.3°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#06122B
RGBrgb(6, 18, 43)
HSLhsl(221, 76%, 10%)
HSVhsv(221, 86%, 17%)
CMYKcmyk(86%, 58.1%, 0%, 83.1%)
CIE-LABlab(5.83, 4.65, -18.21)
CIE-LCHlch(5.83, 18.79, 284.33°)
OKLaboklab(18.8% -0.0072 -0.0533)
OKLCHoklch(18.8% 0.054 262.3)
XYZxyz(0.7273, 0.6457, 2.3713)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06122B #2B1F06
analogous
#06252B #06122B #0D062B
triadic
#06122B #2B0612 #122B06
tetradic
#06122B #2B0625 #2B1F06 #062B0D
square
#06122B #2B0625 #2B1F06 #062B0D
split-complementary
#06122B #2B0D06 #252B06
monochromatic
#040B1B #040B1B #06122B #0D2861 #153F96

Accessibility & contrast

On white

18.60
#06122B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06122B
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06122B#FFFFFF#000000##FFFFFF
##06122B1.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06152C
Deuteranopia (green-blind)
#01112A
Tritanopia (blue-blind)
#00181C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #06122b;
/* rgb */ color: rgb(6, 18, 43);
/* oklch */ color: oklch(18.8% 0.054 262.3);
Tailwind
colors: {
  custom: {
    50: '#4b4f64',
    500: '#06122b',
    950: '#000000',
  },
}
SCSS
$custom: #06122b;
$custom-light: #4b4f64;
$custom-dark: #000000;
JSON
{
  "hex": "#06122b",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 43
  },
  "hsl": {
    "h": 220.541,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18802,
    "c": 0.05382,
    "h": 262.3
  },
  "luminance": 0.00646
}

Semantic roles & 50–950 ramp

primary
#06122B
secondary
#6C5321
accent
#B536F2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #06122B

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

Preview Lab → · Contrast checker → · Palette generator →

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