#061139#061139

#061139 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.079 H 266.5°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#061139
RGBrgb(6, 17, 57)
HSLhsl(227, 81%, 12%)
HSVhsv(227, 89%, 22%)
CMYKcmyk(89.5%, 70.2%, 0%, 77.6%)
CIE-LABlab(6.64, 12.48, -27.22)
CIE-LCHlch(6.64, 29.95, 294.63°)
OKLaboklab(19.93% -0.0048 -0.0791)
OKLCHoklch(19.93% 0.079 266.5)
XYZxyz(1.0138, 0.7349, 3.9585)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061139 #392E06
analogous
#062B39 #061139 #150639
triadic
#061139 #390611 #113906
tetradic
#061139 #39062B #392E06 #063915
square
#061139 #39062B #392E06 #063915
split-complementary
#061139 #391506 #2B3906
monochromatic
#03081C #03081C #061139 #0C2270 #1232A8

Accessibility & contrast

On white

18.31
#061139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#061139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061139
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061139#FFFFFF#000000##FFFFFF
##0611391.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#001238
Tritanopia (blue-blind)
#001B22
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #061139;
/* rgb */ color: rgb(6, 17, 57);
/* oklch */ color: oklch(19.9% 0.079 266.5);
Tailwind
colors: {
  custom: {
    50: '#4f4e70',
    500: '#061139',
    950: '#000000',
  },
}
SCSS
$custom: #061139;
$custom-light: #4f4e70;
$custom-dark: #000000;
JSON
{
  "hex": "#061139",
  "rgb": {
    "r": 6,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 227.059,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19929,
    "c": 0.07927,
    "h": 266.5
  },
  "luminance": 0.00735
}

Semantic roles & 50–950 ramp

primary
#061139
secondary
#796622
accent
#CC30F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #061139

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

Preview Lab → · Contrast checker → · Palette generator →

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