#061536#061536

#061536 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.068 H 262.8°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#061536
RGBrgb(6, 21, 54)
HSLhsl(221, 80%, 12%)
HSVhsv(221, 89%, 21%)
CMYKcmyk(88.9%, 61.1%, 0%, 78.8%)
CIE-LABlab(7.60, 8.16, -23.49)
CIE-LCHlch(7.60, 24.87, 289.16°)
OKLaboklab(20.62% -0.0085 -0.0677)
OKLCHoklch(20.62% 0.068 262.8)
XYZxyz(1.0089, 0.8413, 3.5985)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061536 #362706
analogous
#062D36 #061536 #0F0636
triadic
#061536 #360615 #153606
tetradic
#061536 #36062D #362706 #06360F
square
#061536 #36062D #362706 #06360F
split-complementary
#061536 #360F06 #2D3606
monochromatic
#030B1C #030B1C #061536 #0C2A6D #1240A4

Accessibility & contrast

On white

17.98
#061536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#061536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061536
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061536#FFFFFF#000000##FFFFFF
##0615361.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021937
Deuteranopia (green-blind)
#001535
Tritanopia (blue-blind)
#001D23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #061536;
/* rgb */ color: rgb(6, 21, 54);
/* oklch */ color: oklch(20.6% 0.068 262.8);
Tailwind
colors: {
  custom: {
    50: '#4e516d',
    500: '#061536',
    950: '#000000',
  },
}
SCSS
$custom: #061536;
$custom-light: #4e516d;
$custom-dark: #000000;
JSON
{
  "hex": "#061536",
  "rgb": {
    "r": 6,
    "g": 21,
    "b": 54
  },
  "hsl": {
    "h": 221.25,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20622,
    "c": 0.06821,
    "h": 262.8
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#061536
secondary
#765C21
accent
#B931F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #061536

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

Preview Lab → · Contrast checker → · Palette generator →

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