#061535#061535

#061535 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.067 H 262.5°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#061535
RGBrgb(6, 21, 53)
HSLhsl(221, 80%, 12%)
HSVhsv(221, 89%, 21%)
CMYKcmyk(88.7%, 60.4%, 0%, 79.2%)
CIE-LABlab(7.52, 7.67, -22.90)
CIE-LCHlch(7.52, 24.15, 288.52°)
OKLaboklab(20.53% -0.0086 -0.066)
OKLCHoklch(20.53% 0.067 262.5)
XYZxyz(0.9856, 0.8320, 3.4761)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061535 #352606
analogous
#062D35 #061535 #0F0635
triadic
#061535 #350615 #153506
tetradic
#061535 #35062D #352606 #06350F
square
#061535 #35062D #352606 #06350F
split-complementary
#061535 #350F06 #2D3506
monochromatic
#030B1B #030B1B #061535 #0C2B6C #1241A3

Accessibility & contrast

On white

18.00
#061535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061535
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061535#FFFFFF#000000##FFFFFF
##0615351.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031936
Deuteranopia (green-blind)
#001434
Tritanopia (blue-blind)
#001D22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #061535;
/* rgb */ color: rgb(6, 21, 53);
/* oklch */ color: oklch(20.5% 0.067 262.5);
Tailwind
colors: {
  custom: {
    50: '#4e516c',
    500: '#061535',
    950: '#000000',
  },
}
SCSS
$custom: #061535;
$custom-light: #4e516c;
$custom-dark: #000000;
JSON
{
  "hex": "#061535",
  "rgb": {
    "r": 6,
    "g": 21,
    "b": 53
  },
  "hsl": {
    "h": 220.851,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20528,
    "c": 0.06652,
    "h": 262.5
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#061535
secondary
#755B21
accent
#B732F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #061535

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

Preview Lab → · Contrast checker → · Palette generator →

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