#162F65#162F65

#162F65 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.100 H 263.2°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#162F65
RGBrgb(22, 47, 101)
HSLhsl(221, 64%, 24%)
HSVhsv(221, 78%, 40%)
CMYKcmyk(78.2%, 53.5%, 0%, 60.4%)
CIE-LABlab(20.61, 11.60, -34.66)
CIE-LCHlch(20.61, 36.55, 288.50°)
OKLaboklab(31.96% -0.0119 -0.0996)
OKLCHoklch(31.96% 0.1 263.2)
XYZxyz(3.6955, 3.1428, 12.7213)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F65 #654C16
analogous
#165765 #162F65 #251665
triadic
#162F65 #65162F #2F6516
tetradic
#162F65 #651657 #654C16 #166525
square
#162F65 #651657 #654C16 #166525
split-complementary
#162F65 #652516 #576516
monochromatic
#050C19 #0B1833 #162F65 #214697 #2C5ECA

Accessibility & contrast

On white

12.89
#162F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#162F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F65
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F65#FFFFFF#000000##FFFFFF
##162F651.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3567
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162f65;
/* rgb */ color: rgb(22, 47, 101);
/* oklch */ color: oklch(32.0% 0.100 263.2);
Tailwind
colors: {
  custom: {
    50: '#606791',
    500: '#162f65',
    950: '#000000',
  },
}
SCSS
$custom: #162f65;
$custom-light: #606791;
$custom-dark: #000000;
JSON
{
  "hex": "#162f65",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 221.013,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31957,
    "c": 0.10033,
    "h": 263.2
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#162F65
secondary
#9C7D3B
accent
#B241E7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #162F65

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

Preview Lab → · Contrast checker → · Palette generator →

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