#162E53#162E53

#162E53 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.074 H 258.8°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#162E53
RGBrgb(22, 46, 83)
HSLhsl(216, 58%, 21%)
HSVhsv(216, 73%, 33%)
CMYKcmyk(73.5%, 44.6%, 0%, 67.5%)
CIE-LABlab(19.01, 4.77, -25.32)
CIE-LCHlch(19.01, 25.77, 280.68°)
OKLaboklab(30.32% -0.0143 -0.0722)
OKLCHoklch(30.32% 0.074 258.8)
XYZxyz(2.8686, 2.7488, 8.5613)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E53 #533B16
analogous
#164C53 #162E53 #1C1653
triadic
#162E53 #53162E #2E5316
tetradic
#162E53 #53164C #533B16 #16531C
square
#162E53 #53164C #533B16 #16531C
split-complementary
#162E53 #531C16 #4C5316
monochromatic
#060D18 #091323 #162E53 #234983 #3064B4

Accessibility & contrast

On white

13.55
#162E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#162E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E53
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E53#FFFFFF#000000##FFFFFF
##162E531.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3154
Deuteranopia (green-blind)
#132C52
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162e53;
/* rgb */ color: rgb(22, 46, 83);
/* oklch */ color: oklch(30.3% 0.074 258.8);
Tailwind
colors: {
  custom: {
    50: '#5b6683',
    500: '#162e53',
    950: '#000000',
  },
}
SCSS
$custom: #162e53;
$custom-light: #5b6683;
$custom-dark: #000000;
JSON
{
  "hex": "#162e53",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 83
  },
  "hsl": {
    "h": 216.393,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30317,
    "c": 0.0736,
    "h": 258.8
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#162E53
secondary
#8A6B3A
accent
#A446E1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #162E53

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

Preview Lab → · Contrast checker → · Palette generator →

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