#061937#061937

#061937 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.064 H 258.9°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#061937
RGBrgb(6, 25, 55)
HSLhsl(217, 80%, 12%)
HSVhsv(217, 89%, 22%)
CMYKcmyk(89.1%, 54.5%, 0%, 78.4%)
CIE-LABlab(9.07, 5.44, -21.84)
CIE-LCHlch(9.07, 22.51, 283.99°)
OKLaboklab(21.78% -0.0123 -0.0627)
OKLCHoklch(21.78% 0.064 258.9)
XYZxyz(1.1121, 1.0097, 3.7500)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061937 #372406
analogous
#063237 #061937 #0C0637
triadic
#061937 #370619 #193706
tetradic
#061937 #370632 #372406 #06370C
square
#061937 #370632 #372406 #06370C
split-complementary
#061937 #370C06 #323706
monochromatic
#030D1C #030D1C #061937 #0C326E #124BA5

Accessibility & contrast

On white

17.47
#061937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#061937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061937
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061937#FFFFFF#000000##FFFFFF
##0619371.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091C38
Deuteranopia (green-blind)
#011836
Tritanopia (blue-blind)
#002025
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #061937;
/* rgb */ color: rgb(6, 25, 55);
/* oklch */ color: oklch(21.8% 0.064 258.9);
Tailwind
colors: {
  custom: {
    50: '#4e556e',
    500: '#061937',
    950: '#000000',
  },
}
SCSS
$custom: #061937;
$custom-light: #4e556e;
$custom-dark: #000000;
JSON
{
  "hex": "#061937",
  "rgb": {
    "r": 6,
    "g": 25,
    "b": 55
  },
  "hsl": {
    "h": 216.735,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21781,
    "c": 0.06388,
    "h": 258.9
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#061937
secondary
#775621
accent
#AA31F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #061937

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

Preview Lab → · Contrast checker → · Palette generator →

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