#061127#061127

#061127 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.2% C 0.048 H 261.9°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#061127
RGBrgb(6, 17, 39)
HSLhsl(220, 73%, 9%)
HSVhsv(220, 85%, 15%)
CMYKcmyk(84.6%, 56.4%, 0%, 84.7%)
CIE-LABlab(5.29, 3.47, -16.04)
CIE-LCHlch(5.29, 16.41, 282.19°)
OKLaboklab(18.17% -0.0068 -0.0477)
OKLCHoklch(18.17% 0.048 261.9)
XYZxyz(0.6416, 0.5860, 1.9984)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061127 #271C06
analogous
#062227 #061127 #0C0627
triadic
#061127 #270611 #112706
tetradic
#061127 #270622 #271C06 #06270C
square
#061127 #270622 #271C06 #06270C
split-complementary
#061127 #270C06 #222706
monochromatic
#040C1B #040C1B #061127 #0E285C #163F91

Accessibility & contrast

On white

18.80
#061127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#061127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061127
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061127#FFFFFF#000000##FFFFFF
##0611271.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071328
Deuteranopia (green-blind)
#031027
Tritanopia (blue-blind)
#00161A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #061127;
/* rgb */ color: rgb(6, 17, 39);
/* oklch */ color: oklch(18.2% 0.048 261.9);
Tailwind
colors: {
  custom: {
    50: '#4a4f61',
    500: '#061127',
    950: '#000000',
  },
}
SCSS
$custom: #061127;
$custom-light: #4a4f61;
$custom-dark: #000000;
JSON
{
  "hex": "#061127",
  "rgb": {
    "r": 6,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 220,
    "s": 73.333,
    "l": 8.824
  },
  "oklch": {
    "l": 0.1817,
    "c": 0.04823,
    "h": 261.9
  },
  "luminance": 0.00586
}

Semantic roles & 50–950 ramp

primary
#061127
secondary
#685021
accent
#B338F0
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #061127

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

Preview Lab → · Contrast checker → · Palette generator →

#061127 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva