#162143#162143

#162143 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.8% C 0.066 H 268.1°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#162143
RGBrgb(22, 33, 67)
HSLhsl(225, 51%, 17%)
HSVhsv(225, 67%, 26%)
CMYKcmyk(67.2%, 50.7%, 0%, 73.7%)
CIE-LABlab(13.61, 7.77, -23.02)
CIE-LCHlch(13.61, 24.29, 288.64°)
OKLaboklab(25.8% -0.0022 -0.0656)
OKLCHoklch(25.8% 0.066 268.1)
XYZxyz(1.8875, 1.6634, 5.5307)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162143 #433816
analogous
#163843 #162143 #211643
triadic
#162143 #431621 #214316
tetradic
#162143 #431638 #433816 #164321
square
#162143 #431638 #433816 #164321
split-complementary
#162143 #432116 #384316
monochromatic
#080B17 #080B17 #162143 #253871 #344E9F

Accessibility & contrast

On white

15.76
#162143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162143
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162143#FFFFFF#000000##FFFFFF
##1621431.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112544
Deuteranopia (green-blind)
#0B2142
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #162143;
/* rgb */ color: rgb(22, 33, 67);
/* oklch */ color: oklch(25.8% 0.066 268.1);
Tailwind
colors: {
  custom: {
    50: '#585b77',
    500: '#162143',
    950: '#000000',
  },
}
SCSS
$custom: #162143;
$custom-light: #585b77;
$custom-dark: #000000;
JSON
{
  "hex": "#162143",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 67
  },
  "hsl": {
    "h": 225.333,
    "s": 50.562,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25804,
    "c": 0.06567,
    "h": 268.1
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#162143
secondary
#7A6B3A
accent
#B84EDA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #162143

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

Preview Lab → · Contrast checker → · Palette generator →

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