#162D55#162D55

#162D55 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.078 H 260.7°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#162D55
RGBrgb(22, 45, 85)
HSLhsl(218, 59%, 21%)
HSVhsv(218, 74%, 33%)
CMYKcmyk(74.1%, 47.1%, 0%, 66.7%)
CIE-LABlab(18.81, 6.34, -26.97)
CIE-LCHlch(18.81, 27.71, 283.22°)
OKLaboklab(30.21% -0.0127 -0.0771)
OKLCHoklch(30.21% 0.078 260.7)
XYZxyz(2.9084, 2.7029, 8.9610)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D55 #553E16
analogous
#164C55 #162D55 #1E1655
triadic
#162D55 #55162D #2D5516
tetradic
#162D55 #55164C #553E16 #16551E
square
#162D55 #55164C #553E16 #16551E
split-complementary
#162D55 #551E16 #4C5516
monochromatic
#060D18 #091324 #162D55 #234786 #2F60B6

Accessibility & contrast

On white

13.63
#162D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#162D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D55
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D55#FFFFFF#000000##FFFFFF
##162D551.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3157
Deuteranopia (green-blind)
#0F2B54
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162d55;
/* rgb */ color: rgb(22, 45, 85);
/* oklch */ color: oklch(30.2% 0.078 260.7);
Tailwind
colors: {
  custom: {
    50: '#5c6585',
    500: '#162d55',
    950: '#000000',
  },
}
SCSS
$custom: #162d55;
$custom-light: #5c6585;
$custom-dark: #000000;
JSON
{
  "hex": "#162d55",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 85
  },
  "hsl": {
    "h": 218.095,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30209,
    "c": 0.0781,
    "h": 260.7
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#162D55
secondary
#8C6E3A
accent
#A946E2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #162D55

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

Preview Lab → · Contrast checker → · Palette generator →

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