#162F60#162F60

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

Color values

HEX#162F60
RGBrgb(22, 47, 96)
HSLhsl(220, 63%, 23%)
HSVhsv(220, 77%, 38%)
CMYKcmyk(77.1%, 51%, 0%, 62.4%)
CIE-LABlab(20.23, 9.50, -31.98)
CIE-LCHlch(20.23, 33.36, 286.54°)
OKLaboklab(31.55% -0.0126 -0.0918)
OKLCHoklch(31.55% 0.093 262.2)
XYZxyz(3.4580, 3.0478, 11.4701)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F60 #604716
analogous
#165460 #162F60 #221660
triadic
#162F60 #60162F #2F6016
tetradic
#162F60 #601654 #604716 #166022
square
#162F60 #601654 #604716 #166022
split-complementary
#162F60 #602216 #546016
monochromatic
#060C19 #0B172E #162F60 #214792 #2D60C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##162F60#FFFFFF#000000##FFFFFF
##162F601.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)
#143462
Deuteranopia (green-blind)
#022E5F
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162f60;
/* rgb */ color: rgb(22, 47, 96);
/* oklch */ color: oklch(31.6% 0.093 262.2);
Tailwind
colors: {
  custom: {
    50: '#5e678d',
    500: '#162f60',
    950: '#000000',
  },
}
SCSS
$custom: #162f60;
$custom-light: #5e678d;
$custom-dark: #000000;
JSON
{
  "hex": "#162f60",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 96
  },
  "hsl": {
    "h": 219.73,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31553,
    "c": 0.09263,
    "h": 262.2
  },
  "luminance": 0.03048
}

Semantic roles & 50–950 ramp

primary
#162F60
secondary
#97783B
accent
#AE42E6
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #162F60

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

Preview Lab → · Contrast checker → · Palette generator →

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