#162E63#162E63

#162E63 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.099 H 263.5°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#162E63
RGBrgb(22, 46, 99)
HSLhsl(221, 64%, 24%)
HSVhsv(221, 78%, 39%)
CMYKcmyk(77.8%, 53.5%, 0%, 61.2%)
CIE-LABlab(20.14, 11.49, -34.10)
CIE-LCHlch(20.14, 35.98, 288.62°)
OKLaboklab(31.56% -0.0112 -0.098)
OKLCHoklch(31.56% 0.099 263.5)
XYZxyz(3.5592, 3.0250, 12.1983)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E63 #634B16
analogous
#165463 #162E63 #241663
triadic
#162E63 #63162E #2E6316
tetradic
#162E63 #631654 #634B16 #166324
square
#162E63 #631654 #634B16 #166324
split-complementary
#162E63 #632416 #546316
monochromatic
#060C19 #0B1731 #162E63 #214595 #2C5DC7

Accessibility & contrast

On white

13.08
#162E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#162E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E63
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E63#FFFFFF#000000##FFFFFF
##162E631.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3465
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162e63;
/* rgb */ color: rgb(22, 46, 99);
/* oklch */ color: oklch(31.6% 0.099 263.5);
Tailwind
colors: {
  custom: {
    50: '#5f6690',
    500: '#162e63',
    950: '#000000',
  },
}
SCSS
$custom: #162e63;
$custom-light: #5f6690;
$custom-dark: #000000;
JSON
{
  "hex": "#162e63",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 221.299,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31556,
    "c": 0.09864,
    "h": 263.5
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#162E63
secondary
#9A7C3B
accent
#B341E7
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #162E63

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

Preview Lab → · Contrast checker → · Palette generator →

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