#162E60#162E60

#162E60 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.094 H 262.9°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#162E60
RGBrgb(22, 46, 96)
HSLhsl(221, 63%, 23%)
HSVhsv(221, 77%, 38%)
CMYKcmyk(77.1%, 52.1%, 0%, 62.4%)
CIE-LABlab(19.92, 10.22, -32.49)
CIE-LCHlch(19.92, 34.06, 287.47°)
OKLaboklab(31.31% -0.0117 -0.0933)
OKLCHoklch(31.31% 0.094 262.9)
XYZxyz(3.4184, 2.9687, 11.4569)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E60 #604816
analogous
#165360 #162E60 #231660
triadic
#162E60 #60162E #2E6016
tetradic
#162E60 #601653 #604816 #166023
square
#162E60 #601653 #604816 #166023
split-complementary
#162E60 #602316 #536016
monochromatic
#060C19 #0B162E #162E60 #214692 #2D5EC4

Accessibility & contrast

On white

13.18
#162E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162E60
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E60#FFFFFF#000000##FFFFFF
##162E601.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123462
Deuteranopia (green-blind)
#002D5F
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162e60;
/* rgb */ color: rgb(22, 46, 96);
/* oklch */ color: oklch(31.3% 0.094 262.9);
Tailwind
colors: {
  custom: {
    50: '#5e668d',
    500: '#162e60',
    950: '#000000',
  },
}
SCSS
$custom: #162e60;
$custom-light: #5e668d;
$custom-dark: #000000;
JSON
{
  "hex": "#162e60",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 96
  },
  "hsl": {
    "h": 220.541,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31311,
    "c": 0.094,
    "h": 262.9
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#162E60
secondary
#97793B
accent
#B142E6
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #162E60

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

Preview Lab → · Contrast checker → · Palette generator →

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