#162A55#162A55

#162A55 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.082 H 263.4°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#162A55
RGBrgb(22, 42, 85)
HSLhsl(221, 59%, 21%)
HSVhsv(221, 74%, 33%)
CMYKcmyk(74.1%, 50.6%, 0%, 66.7%)
CIE-LABlab(17.84, 8.53, -28.54)
CIE-LCHlch(17.84, 29.78, 286.65°)
OKLaboklab(29.46% -0.0094 -0.0817)
OKLCHoklch(29.46% 0.082 263.4)
XYZxyz(2.7980, 2.4821, 8.9242)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A55 #554116
analogous
#164955 #162A55 #211655
triadic
#162A55 #55162A #2A5516
tetradic
#162A55 #551649 #554116 #165521
square
#162A55 #551649 #554116 #165521
split-complementary
#162A55 #552116 #495516
monochromatic
#060C18 #091224 #162A55 #234286 #2F5AB6

Accessibility & contrast

On white

14.03
#162A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#162A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A55
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A55#FFFFFF#000000##FFFFFF
##162A551.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142F57
Deuteranopia (green-blind)
#072954
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162a55;
/* rgb */ color: rgb(22, 42, 85);
/* oklch */ color: oklch(29.5% 0.082 263.4);
Tailwind
colors: {
  custom: {
    50: '#5c6385',
    500: '#162a55',
    950: '#000000',
  },
}
SCSS
$custom: #162a55;
$custom-light: #5c6385;
$custom-dark: #000000;
JSON
{
  "hex": "#162a55",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 220.952,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29459,
    "c": 0.08225,
    "h": 263.4
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#162A55
secondary
#8C723A
accent
#B046E2
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #162A55

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

Preview Lab → · Contrast checker → · Palette generator →

#162A55 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva