#162240#162240

#162240 is a dark, muted blue. Relative luminance 0.017; OKLCH L 25.8% C 0.059 H 266.0°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#162240
RGBrgb(22, 34, 64)
HSLhsl(223, 49%, 17%)
HSVhsv(223, 66%, 25%)
CMYKcmyk(65.6%, 46.9%, 0%, 74.9%)
CIE-LABlab(13.74, 5.79, -20.72)
CIE-LCHlch(13.74, 21.52, 285.61°)
OKLaboklab(25.83% -0.0041 -0.0589)
OKLCHoklch(25.83% 0.059 266)
XYZxyz(1.8280, 1.6846, 5.0783)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162240 #403416
analogous
#163740 #162240 #1F1640
triadic
#162240 #401622 #224016
tetradic
#162240 #401637 #403416 #16401F
square
#162240 #401637 #403416 #16401F
split-complementary
#162240 #401F16 #374016
monochromatic
#080C17 #080C17 #162240 #263A6E #35529B

Accessibility & contrast

On white

15.71
#162240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#162240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162240
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162240#FFFFFF#000000##FFFFFF
##1622401.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152541
Deuteranopia (green-blind)
#10213F
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #162240;
/* rgb */ color: rgb(22, 34, 64);
/* oklch */ color: oklch(25.8% 0.059 266.0);
Tailwind
colors: {
  custom: {
    50: '#575c75',
    500: '#162240',
    950: '#000000',
  },
}
SCSS
$custom: #162240;
$custom-light: #575c75;
$custom-dark: #000000;
JSON
{
  "hex": "#162240",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 222.857,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25834,
    "c": 0.05904,
    "h": 266
  },
  "luminance": 0.01685
}

Semantic roles & 50–950 ramp

primary
#162240
secondary
#77663B
accent
#B14FD8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #162240

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

Preview Lab → · Contrast checker → · Palette generator →

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