#06112F#06112F

#06112F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.062 H 265.0°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#06112F
RGBrgb(6, 17, 47)
HSLhsl(224, 77%, 10%)
HSVhsv(224, 87%, 18%)
CMYKcmyk(87.2%, 63.8%, 0%, 81.6%)
CIE-LABlab(5.82, 7.19, -21.21)
CIE-LCHlch(5.82, 22.39, 288.74°)
OKLaboklab(18.9% -0.0054 -0.0622)
OKLCHoklch(18.9% 0.062 265)
XYZxyz(0.7885, 0.6448, 2.7717)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06112F #2F2406
analogous
#06252F #06112F #0F062F
triadic
#06112F #2F0611 #112F06
tetradic
#06112F #2F0625 #2F2406 #062F0F
square
#06112F #2F0625 #2F2406 #062F0F
split-complementary
#06112F #2F0F06 #252F06
monochromatic
#030A1B #030A1B #06112F #0D2565 #14389C

Accessibility & contrast

On white

18.60
#06112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#06112F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06112F
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06112F#FFFFFF#000000##FFFFFF
##06112F1.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)
#011530
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#00181D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #06112f;
/* rgb */ color: rgb(6, 17, 47);
/* oklch */ color: oklch(18.9% 0.062 265.0);
Tailwind
colors: {
  custom: {
    50: '#4c4f68',
    500: '#06112f',
    950: '#000000',
  },
}
SCSS
$custom: #06112f;
$custom-light: #4c4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#06112f",
  "rgb": {
    "r": 6,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 223.902,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18904,
    "c": 0.06243,
    "h": 265
  },
  "luminance": 0.00645
}

Semantic roles & 50–950 ramp

primary
#06112F
secondary
#705B21
accent
#C034F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #06112F

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

Preview Lab → · Contrast checker → · Palette generator →

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