#162E55#162E55

#162E55 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.077 H 259.6°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#162E55
RGBrgb(22, 46, 85)
HSLhsl(217, 59%, 21%)
HSVhsv(217, 74%, 33%)
CMYKcmyk(74.1%, 45.9%, 0%, 66.7%)
CIE-LABlab(19.14, 5.61, -26.45)
CIE-LCHlch(19.14, 27.04, 281.97°)
OKLaboklab(30.46% -0.0138 -0.0755)
OKLCHoklch(30.46% 0.077 259.6)
XYZxyz(2.9470, 2.7801, 8.9739)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E55 #553D16
analogous
#164D55 #162E55 #1D1655
triadic
#162E55 #55162E #2E5516
tetradic
#162E55 #55164D #553D16 #16551D
square
#162E55 #55164D #553D16 #16551D
split-complementary
#162E55 #551D16 #4D5516
monochromatic
#060D18 #091424 #162E55 #234886 #2F63B6

Accessibility & contrast

On white

13.50
#162E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E55
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E55#FFFFFF#000000##FFFFFF
##162E551.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3257
Deuteranopia (green-blind)
#112C54
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162e55;
/* rgb */ color: rgb(22, 46, 85);
/* oklch */ color: oklch(30.5% 0.077 259.6);
Tailwind
colors: {
  custom: {
    50: '#5c6685',
    500: '#162e55',
    950: '#000000',
  },
}
SCSS
$custom: #162e55;
$custom-light: #5c6685;
$custom-dark: #000000;
JSON
{
  "hex": "#162e55",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 85
  },
  "hsl": {
    "h": 217.143,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30463,
    "c": 0.07675,
    "h": 259.6
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#162E55
secondary
#8C6D3A
accent
#A746E2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #162E55

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

Preview Lab → · Contrast checker → · Palette generator →

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