#061940#061940

#061940 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.079 H 262.1°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#061940
RGBrgb(6, 25, 64)
HSLhsl(220, 83%, 14%)
HSVhsv(220, 91%, 25%)
CMYKcmyk(90.6%, 60.9%, 0%, 74.9%)
CIE-LABlab(9.83, 9.69, -27.05)
CIE-LCHlch(9.83, 28.73, 289.71°)
OKLaboklab(22.6% -0.0108 -0.078)
OKLCHoklch(22.6% 0.079 262.1)
XYZxyz(1.3478, 1.1040, 4.9915)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061940 #402D06
analogous
#063640 #061940 #100640
triadic
#061940 #400619 #194006
tetradic
#061940 #400636 #402D06 #064010
square
#061940 #400636 #402D06 #064010
split-complementary
#061940 #401006 #364006
monochromatic
#030B1C #030B1C #061940 #0B2F78 #1045B0

Accessibility & contrast

On white

17.20
#061940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#061940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061940
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061940#FFFFFF#000000##FFFFFF
##0619401.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E41
Deuteranopia (green-blind)
#00193F
Tritanopia (blue-blind)
#002329
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #061940;
/* rgb */ color: rgb(6, 25, 64);
/* oklch */ color: oklch(22.6% 0.079 262.1);
Tailwind
colors: {
  custom: {
    50: '#515575',
    500: '#061940',
    950: '#000000',
  },
}
SCSS
$custom: #061940;
$custom-light: #515575;
$custom-dark: #000000;
JSON
{
  "hex": "#061940",
  "rgb": {
    "r": 6,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 220.345,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22602,
    "c": 0.07875,
    "h": 262.1
  },
  "luminance": 0.01104
}

Semantic roles & 50–950 ramp

primary
#061940
secondary
#806122
accent
#B72FF9
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #061940

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

Preview Lab → · Contrast checker → · Palette generator →

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