#162E64#162E64

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

Color values

HEX#162E64
RGBrgb(22, 46, 100)
HSLhsl(222, 64%, 24%)
HSVhsv(222, 78%, 39%)
CMYKcmyk(78%, 54%, 0%, 60.8%)
CIE-LABlab(20.22, 11.91, -34.63)
CIE-LCHlch(20.22, 36.62, 288.97°)
OKLaboklab(31.64% -0.0111 -0.0996)
OKLCHoklch(31.64% 0.1 263.6)
XYZxyz(3.6073, 3.0443, 12.4516)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E64 #644C16
analogous
#165564 #162E64 #251664
triadic
#162E64 #64162E #2E6416
tetradic
#162E64 #641655 #644C16 #166425
square
#162E64 #641655 #644C16 #166425
split-complementary
#162E64 #642516 #556416
monochromatic
#060C19 #0B1732 #162E64 #214596 #2C5CC8

Accessibility & contrast

On white

13.05
#162E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162E64
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E64#FFFFFF#000000##FFFFFF
##162E641.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3566
Deuteranopia (green-blind)
#002D63
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162e64;
/* rgb */ color: rgb(22, 46, 100);
/* oklch */ color: oklch(31.6% 0.100 263.6);
Tailwind
colors: {
  custom: {
    50: '#606691',
    500: '#162e64',
    950: '#000000',
  },
}
SCSS
$custom: #162e64;
$custom-light: #606691;
$custom-dark: #000000;
JSON
{
  "hex": "#162e64",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 100
  },
  "hsl": {
    "h": 221.538,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31638,
    "c": 0.10017,
    "h": 263.6
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

primary
#162E64
secondary
#9B7D3B
accent
#B441E7
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050D
muted
#797A7D

Preview Lab

Preview with #162E64

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

Preview Lab → · Contrast checker → · Palette generator →

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