#060837#060837

#060837 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.089 H 270.9°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#060837
RGBrgb(6, 8, 55)
HSLhsl(238, 80%, 12%)
HSVhsv(238, 89%, 22%)
CMYKcmyk(89.1%, 85.5%, 0%, 78.4%)
CIE-LABlab(4.41, 15.87, -29.38)
CIE-LCHlch(4.41, 33.39, 298.38°)
OKLaboklab(17.76% 0.0013 -0.0887)
OKLCHoklch(17.76% 0.089 270.9)
XYZxyz(0.8513, 0.4881, 3.6630)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060837 #373506
analogous
#062137 #060837 #1D0637
triadic
#060837 #370608 #083706
tetradic
#060837 #370621 #373506 #06371D
square
#060837 #370621 #373506 #06371D
split-complementary
#060837 #371D06 #213706
monochromatic
#03041C #03041C #060837 #0C106E #1218A5

Accessibility & contrast

On white

19.13
#060837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#060837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060837
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060837#FFFFFF#000000##FFFFFF
##0608371.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001238
Deuteranopia (green-blind)
#000D36
Tritanopia (blue-blind)
#00151E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #060837;
/* rgb */ color: rgb(6, 8, 55);
/* oklch */ color: oklch(17.8% 0.089 270.9);
Tailwind
colors: {
  custom: {
    50: '#4e496e',
    500: '#060837',
    950: '#000000',
  },
}
SCSS
$custom: #060837;
$custom-light: #4e496e;
$custom-dark: #000000;
JSON
{
  "hex": "#060837",
  "rgb": {
    "r": 6,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 237.551,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17761,
    "c": 0.08872,
    "h": 270.9
  },
  "luminance": 0.00488
}

Semantic roles & 50–950 ramp

primary
#060837
secondary
#777421
accent
#EF31F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #060837

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

Preview Lab → · Contrast checker → · Palette generator →

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