#061837#061837

#061837 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.5% C 0.065 H 260.1°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#061837
RGBrgb(6, 24, 55)
HSLhsl(218, 80%, 12%)
HSVhsv(218, 89%, 22%)
CMYKcmyk(89.1%, 56.4%, 0%, 78.4%)
CIE-LABlab(8.72, 6.24, -22.41)
CIE-LCHlch(8.72, 23.26, 285.57°)
OKLaboklab(21.51% -0.0113 -0.0644)
OKLCHoklch(21.51% 0.065 260.1)
XYZxyz(1.0911, 0.9677, 3.7430)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061837 #372506
analogous
#063137 #061837 #0D0637
triadic
#061837 #370618 #183706
tetradic
#061837 #370631 #372506 #06370D
square
#061837 #370631 #372506 #06370D
split-complementary
#061837 #370D06 #313706
monochromatic
#030C1C #030C1C #061837 #0C306E #1248A5

Accessibility & contrast

On white

17.59
#061837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#061837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061837
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061837#FFFFFF#000000##FFFFFF
##0618371.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071B38
Deuteranopia (green-blind)
#001736
Tritanopia (blue-blind)
#001F24
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #061837;
/* rgb */ color: rgb(6, 24, 55);
/* oklch */ color: oklch(21.5% 0.065 260.1);
Tailwind
colors: {
  custom: {
    50: '#4e546e',
    500: '#061837',
    950: '#000000',
  },
}
SCSS
$custom: #061837;
$custom-light: #4e546e;
$custom-dark: #000000;
JSON
{
  "hex": "#061837",
  "rgb": {
    "r": 6,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 217.959,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2151,
    "c": 0.06537,
    "h": 260.1
  },
  "luminance": 0.00968
}

Semantic roles & 50–950 ramp

primary
#061837
secondary
#775821
accent
#AE31F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #061837

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

Preview Lab → · Contrast checker → · Palette generator →

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