#06112A#06112A

#06112A is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.4% C 0.054 H 263.4°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#06112A
RGBrgb(6, 17, 42)
HSLhsl(222, 75%, 9%)
HSVhsv(222, 86%, 16%)
CMYKcmyk(85.7%, 59.5%, 0%, 83.5%)
CIE-LABlab(5.48, 4.78, -18.02)
CIE-LCHlch(5.48, 18.64, 284.86°)
OKLaboklab(18.44% -0.0062 -0.0532)
OKLCHoklch(18.44% 0.054 263.4)
XYZxyz(0.6933, 0.6067, 2.2706)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06112A #2A1F06
analogous
#06232A #06112A #0D062A
triadic
#06112A #2A0611 #112A06
tetradic
#06112A #2A0623 #2A1F06 #062A0D
square
#06112A #2A0623 #2A1F06 #062A0D
split-complementary
#06112A #2A0D06 #232A06
monochromatic
#040B1B #040B1B #06112A #0E2760 #153C95

Accessibility & contrast

On white

18.73
#06112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#06112A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06112A
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06112A#FFFFFF#000000##FFFFFF
##06112A1.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05142B
Deuteranopia (green-blind)
#011029
Tritanopia (blue-blind)
#00171B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #06112a;
/* rgb */ color: rgb(6, 17, 42);
/* oklch */ color: oklch(18.4% 0.054 263.4);
Tailwind
colors: {
  custom: {
    50: '#4a4f63',
    500: '#06112a',
    950: '#000000',
  },
}
SCSS
$custom: #06112a;
$custom-light: #4a4f63;
$custom-dark: #000000;
JSON
{
  "hex": "#06112a",
  "rgb": {
    "r": 6,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 221.667,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18435,
    "c": 0.05361,
    "h": 263.4
  },
  "luminance": 0.00607
}

Semantic roles & 50–950 ramp

primary
#06112A
secondary
#6B5421
accent
#B836F2
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #06112A

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

Preview Lab → · Contrast checker → · Palette generator →

#06112A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva