#162E5E#162E5E

#162E5E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.091 H 262.4°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#162E5E
RGBrgb(22, 46, 94)
HSLhsl(220, 62%, 23%)
HSVhsv(220, 77%, 37%)
CMYKcmyk(76.6%, 51.1%, 0%, 63.1%)
CIE-LABlab(19.77, 9.38, -31.41)
CIE-LCHlch(19.77, 32.78, 286.63°)
OKLaboklab(31.15% -0.012 -0.0901)
OKLCHoklch(31.15% 0.091 262.4)
XYZxyz(3.3275, 2.9324, 10.9781)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E5E #5E4616
analogous
#16525E #162E5E #22165E
triadic
#162E5E #5E162E #2E5E16
tetradic
#162E5E #5E1652 #5E4616 #165E22
square
#162E5E #5E1652 #5E4616 #165E22
split-complementary
#162E5E #5E2216 #525E16
monochromatic
#060C19 #0A162C #162E5E #224690 #2D5FC1

Accessibility & contrast

On white

13.24
#162E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#162E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E5E
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E5E#FFFFFF#000000##FFFFFF
##162E5E1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143360
Deuteranopia (green-blind)
#032D5D
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162e5e;
/* rgb */ color: rgb(22, 46, 94);
/* oklch */ color: oklch(31.2% 0.091 262.4);
Tailwind
colors: {
  custom: {
    50: '#5e668c',
    500: '#162e5e',
    950: '#000000',
  },
}
SCSS
$custom: #162e5e;
$custom-light: #5e668c;
$custom-dark: #000000;
JSON
{
  "hex": "#162e5e",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 220,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31151,
    "c": 0.09088,
    "h": 262.4
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#162E5E
secondary
#95773B
accent
#AF43E5
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #162E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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