#162E50#162E50

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

Color values

HEX#162E50
RGBrgb(22, 46, 80)
HSLhsl(215, 57%, 20%)
HSVhsv(215, 73%, 31%)
CMYKcmyk(72.5%, 42.5%, 0%, 68.6%)
CIE-LABlab(18.82, 3.53, -23.62)
CIE-LCHlch(18.82, 23.88, 278.50°)
OKLaboklab(30.1% -0.0151 -0.0672)
OKLCHoklch(30.1% 0.069 257.4)
XYZxyz(2.7553, 2.7035, 7.9645)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E50 #503816
analogous
#164B50 #162E50 #1B1650
triadic
#162E50 #50162E #2E5016
tetradic
#162E50 #50164B #503816 #16501B
square
#162E50 #50164B #503816 #16501B
split-complementary
#162E50 #501B16 #4B5016
monochromatic
#070E18 #091220 #162E50 #234A80 #3065B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##162E50#FFFFFF#000000##FFFFFF
##162E501.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)
#1F3151
Deuteranopia (green-blind)
#162B4F
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162e50;
/* rgb */ color: rgb(22, 46, 80);
/* oklch */ color: oklch(30.1% 0.069 257.4);
Tailwind
colors: {
  custom: {
    50: '#5b6681',
    500: '#162e50',
    950: '#000000',
  },
}
SCSS
$custom: #162e50;
$custom-light: #5b6681;
$custom-dark: #000000;
JSON
{
  "hex": "#162e50",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 80
  },
  "hsl": {
    "h": 215.172,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.30104,
    "c": 0.06887,
    "h": 257.4
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#162E50
secondary
#87683A
accent
#A148E0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #162E50

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

Preview Lab → · Contrast checker → · Palette generator →

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