#061440#061440

#061440 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.086 H 265.4°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#061440
RGBrgb(6, 20, 64)
HSLhsl(226, 83%, 14%)
HSVhsv(226, 91%, 25%)
CMYKcmyk(90.6%, 68.8%, 0%, 74.9%)
CIE-LABlab(8.21, 13.68, -29.68)
CIE-LCHlch(8.21, 32.69, 294.74°)
OKLaboklab(21.38% -0.0069 -0.0858)
OKLCHoklch(21.38% 0.086 265.4)
XYZxyz(1.2503, 0.9090, 4.9591)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061440 #403206
analogous
#063140 #061440 #150640
triadic
#061440 #400614 #144006
tetradic
#061440 #400631 #403206 #064015
square
#061440 #400631 #403206 #064015
split-complementary
#061440 #401506 #314006
monochromatic
#03091C #03091C #061440 #0B2578 #1037B0

Accessibility & contrast

On white

17.77
#061440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#061440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061440
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061440#FFFFFF#000000##FFFFFF
##0614401.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #061440;
/* rgb */ color: rgb(6, 20, 64);
/* oklch */ color: oklch(21.4% 0.086 265.4);
Tailwind
colors: {
  custom: {
    50: '#525175',
    500: '#061440',
    950: '#000000',
  },
}
SCSS
$custom: #061440;
$custom-light: #525175;
$custom-dark: #000000;
JSON
{
  "hex": "#061440",
  "rgb": {
    "r": 6,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 225.517,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21383,
    "c": 0.08613,
    "h": 265.4
  },
  "luminance": 0.00909
}

Semantic roles & 50–950 ramp

primary
#061440
secondary
#806922
accent
#C82FF9
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #061440

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

Preview Lab → · Contrast checker → · Palette generator →

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