#061840#061840

#061840 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.080 H 262.9°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#061840
RGBrgb(6, 24, 64)
HSLhsl(221, 83%, 14%)
HSVhsv(221, 91%, 25%)
CMYKcmyk(90.6%, 62.5%, 0%, 74.9%)
CIE-LABlab(9.50, 10.49, -27.58)
CIE-LCHlch(9.50, 29.51, 290.82°)
OKLaboklab(22.35% -0.01 -0.0796)
OKLCHoklch(22.35% 0.08 262.9)
XYZxyz(1.3268, 1.0620, 4.9845)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061840 #402E06
analogous
#063540 #061840 #110640
triadic
#061840 #400618 #184006
tetradic
#061840 #400635 #402E06 #064011
square
#061840 #400635 #402E06 #064011
split-complementary
#061840 #401106 #354006
monochromatic
#030A1C #030A1C #061840 #0B2D78 #1042B0

Accessibility & contrast

On white

17.32
#061840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#061840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061840
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061840#FFFFFF#000000##FFFFFF
##0618401.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #061840;
/* rgb */ color: rgb(6, 24, 64);
/* oklch */ color: oklch(22.4% 0.080 262.9);
Tailwind
colors: {
  custom: {
    50: '#515475',
    500: '#061840',
    950: '#000000',
  },
}
SCSS
$custom: #061840;
$custom-light: #515475;
$custom-dark: #000000;
JSON
{
  "hex": "#061840",
  "rgb": {
    "r": 6,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 221.379,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2235,
    "c": 0.08023,
    "h": 262.9
  },
  "luminance": 0.01062
}

Semantic roles & 50–950 ramp

primary
#061840
secondary
#806322
accent
#BA2FF9
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #061840

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

Preview Lab → · Contrast checker → · Palette generator →

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