#061640#061640

#061640 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.083 H 264.2°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#061640
RGBrgb(6, 22, 64)
HSLhsl(223, 83%, 14%)
HSVhsv(223, 91%, 25%)
CMYKcmyk(90.6%, 65.6%, 0%, 74.9%)
CIE-LABlab(8.84, 12.09, -28.65)
CIE-LCHlch(8.84, 31.09, 292.88°)
OKLaboklab(21.86% -0.0084 -0.0828)
OKLCHoklch(21.86% 0.083 264.2)
XYZxyz(1.2871, 0.9825, 4.9713)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061640 #403006
analogous
#063340 #061640 #130640
triadic
#061640 #400616 #164006
tetradic
#061640 #400633 #403006 #064013
square
#061640 #400633 #403006 #064013
split-complementary
#061640 #401306 #334006
monochromatic
#030A1C #030A1C #061640 #0B2978 #103CB0

Accessibility & contrast

On white

17.55
#061640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#061640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061640
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061640#FFFFFF#000000##FFFFFF
##0616401.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#00173F
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #061640;
/* rgb */ color: rgb(6, 22, 64);
/* oklch */ color: oklch(21.9% 0.083 264.2);
Tailwind
colors: {
  custom: {
    50: '#515275',
    500: '#061640',
    950: '#000000',
  },
}
SCSS
$custom: #061640;
$custom-light: #515275;
$custom-dark: #000000;
JSON
{
  "hex": "#061640",
  "rgb": {
    "r": 6,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 223.448,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21858,
    "c": 0.08319,
    "h": 264.2
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#061640
secondary
#806622
accent
#C12FF9
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #061640

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

Preview Lab → · Contrast checker → · Palette generator →

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