#061740#061740

#061740 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.082 H 263.6°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#061740
RGBrgb(6, 23, 64)
HSLhsl(222, 83%, 14%)
HSVhsv(222, 91%, 25%)
CMYKcmyk(90.6%, 64.1%, 0%, 74.9%)
CIE-LABlab(9.17, 11.29, -28.12)
CIE-LCHlch(9.17, 30.30, 291.87°)
OKLaboklab(22.1% -0.0092 -0.0812)
OKLCHoklch(22.1% 0.082 263.6)
XYZxyz(1.3066, 1.0215, 4.9778)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061740 #402F06
analogous
#063440 #061740 #120640
triadic
#061740 #400617 #174006
tetradic
#061740 #400634 #402F06 #064012
square
#061740 #400634 #402F06 #064012
split-complementary
#061740 #401206 #344006
monochromatic
#030A1C #030A1C #061740 #0B2B78 #103FB0

Accessibility & contrast

On white

17.44
#061740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061740
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061740#FFFFFF#000000##FFFFFF
##0617401.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #061740;
/* rgb */ color: rgb(6, 23, 64);
/* oklch */ color: oklch(22.1% 0.082 263.6);
Tailwind
colors: {
  custom: {
    50: '#515375',
    500: '#061740',
    950: '#000000',
  },
}
SCSS
$custom: #061740;
$custom-light: #515375;
$custom-dark: #000000;
JSON
{
  "hex": "#061740",
  "rgb": {
    "r": 6,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 222.414,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22102,
    "c": 0.08172,
    "h": 263.6
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#061740
secondary
#806422
accent
#BE2FF9
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #061740

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

Preview Lab → · Contrast checker → · Palette generator →

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