#061540#061540

#061540 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.085 H 264.8°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#061540
RGBrgb(6, 21, 64)
HSLhsl(224, 83%, 14%)
HSVhsv(224, 91%, 25%)
CMYKcmyk(90.6%, 67.2%, 0%, 74.9%)
CIE-LABlab(8.53, 12.88, -29.17)
CIE-LCHlch(8.53, 31.89, 293.83°)
OKLaboklab(21.62% -0.0076 -0.0843)
OKLCHoklch(21.62% 0.085 264.8)
XYZxyz(1.2684, 0.9451, 4.9651)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061540 #403106
analogous
#063240 #061540 #140640
triadic
#061540 #400615 #154006
tetradic
#061540 #400632 #403106 #064014
square
#061540 #400632 #403106 #064014
split-complementary
#061540 #401406 #324006
monochromatic
#03091C #03091C #061540 #0B2778 #103AB0

Accessibility & contrast

On white

17.66
#061540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061540
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061540#FFFFFF#000000##FFFFFF
##0615401.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#00163F
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #061540;
/* rgb */ color: rgb(6, 21, 64);
/* oklch */ color: oklch(21.6% 0.085 264.8);
Tailwind
colors: {
  custom: {
    50: '#515175',
    500: '#061540',
    950: '#000000',
  },
}
SCSS
$custom: #061540;
$custom-light: #515175;
$custom-dark: #000000;
JSON
{
  "hex": "#061540",
  "rgb": {
    "r": 6,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 224.483,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21618,
    "c": 0.08467,
    "h": 264.8
  },
  "luminance": 0.00945
}

Semantic roles & 50–950 ramp

primary
#061540
secondary
#806822
accent
#C52FF9
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #061540

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

Preview Lab → · Contrast checker → · Palette generator →

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