#061836#061836

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

Color values

HEX#061836
RGBrgb(6, 24, 54)
HSLhsl(218, 80%, 12%)
HSVhsv(218, 89%, 21%)
CMYKcmyk(88.9%, 55.6%, 0%, 78.8%)
CIE-LABlab(8.64, 5.77, -21.82)
CIE-LCHlch(8.64, 22.57, 284.81°)
OKLaboklab(21.42% -0.0115 -0.0626)
OKLCHoklch(21.42% 0.064 259.6)
XYZxyz(1.0674, 0.9582, 3.6180)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061836 #362406
analogous
#063036 #061836 #0C0636
triadic
#061836 #360618 #183606
tetradic
#061836 #360630 #362406 #06360C
square
#061836 #360630 #362406 #06360C
split-complementary
#061836 #360C06 #303606
monochromatic
#030C1C #030C1C #061836 #0C306D #1249A4

Accessibility & contrast

On white

17.62
#061836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061836
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061836#FFFFFF#000000##FFFFFF
##0618361.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081B37
Deuteranopia (green-blind)
#001735
Tritanopia (blue-blind)
#001F24
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #061836;
/* rgb */ color: rgb(6, 24, 54);
/* oklch */ color: oklch(21.4% 0.064 259.6);
Tailwind
colors: {
  custom: {
    50: '#4e546d',
    500: '#061836',
    950: '#000000',
  },
}
SCSS
$custom: #061836;
$custom-light: #4e546d;
$custom-dark: #000000;
JSON
{
  "hex": "#061836",
  "rgb": {
    "r": 6,
    "g": 24,
    "b": 54
  },
  "hsl": {
    "h": 217.5,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21422,
    "c": 0.06368,
    "h": 259.6
  },
  "luminance": 0.00958
}

Semantic roles & 50–950 ramp

primary
#061836
secondary
#765721
accent
#AD31F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #061836

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

Preview Lab → · Contrast checker → · Palette generator →

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