#162047#162047

#162047 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.9% C 0.074 H 269.8°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#162047
RGBrgb(22, 32, 71)
HSLhsl(228, 53%, 18%)
HSVhsv(228, 69%, 28%)
CMYKcmyk(69%, 54.9%, 0%, 72.2%)
CIE-LABlab(13.58, 10.17, -25.84)
CIE-LCHlch(13.58, 27.77, 291.48°)
OKLaboklab(25.88% -0.0003 -0.0739)
OKLCHoklch(25.88% 0.074 269.8)
XYZxyz(1.9843, 1.6584, 6.1755)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162047 #473D16
analogous
#163847 #162047 #241647
triadic
#162047 #471620 #204716
tetradic
#162047 #471638 #473D16 #164724
square
#162047 #471638 #473D16 #164724
split-complementary
#162047 #472416 #384716
monochromatic
#070B17 #080B18 #162047 #243576 #334AA4

Accessibility & contrast

On white

15.77
#162047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#162047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162047
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162047#FFFFFF#000000##FFFFFF
##1620471.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2548
Deuteranopia (green-blind)
#032146
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #162047;
/* rgb */ color: rgb(22, 32, 71);
/* oklch */ color: oklch(25.9% 0.074 269.8);
Tailwind
colors: {
  custom: {
    50: '#595b7a',
    500: '#162047',
    950: '#000000',
  },
}
SCSS
$custom: #162047;
$custom-light: #595b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#162047",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 227.755,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25877,
    "c": 0.07395,
    "h": 269.8
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#162047
secondary
#7E713A
accent
#BF4CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #162047

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

Preview Lab → · Contrast checker → · Palette generator →

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