#162F69#162F69

#162F69 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.106 H 263.9°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#162F69
RGBrgb(22, 47, 105)
HSLhsl(222, 65%, 25%)
HSVhsv(222, 79%, 41%)
CMYKcmyk(79%, 55.2%, 0%, 58.8%)
CIE-LABlab(20.92, 13.28, -36.76)
CIE-LCHlch(20.92, 39.09, 289.86°)
OKLaboklab(32.29% -0.0114 -0.1058)
OKLCHoklch(32.29% 0.106 263.9)
XYZxyz(3.8963, 3.2231, 13.7786)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F69 #695016
analogous
#165869 #162F69 #271669
triadic
#162F69 #69162F #2F6916
tetradic
#162F69 #691658 #695016 #166927
square
#162F69 #691658 #695016 #166927
split-complementary
#162F69 #692716 #586916
monochromatic
#050B19 #0B1836 #162F69 #21469C #2B5CCE

Accessibility & contrast

On white

12.77
#162F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#162F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F69
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F69#FFFFFF#000000##FFFFFF
##162F691.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07366B
Deuteranopia (green-blind)
#002F68
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162f69;
/* rgb */ color: rgb(22, 47, 105);
/* oklch */ color: oklch(32.3% 0.106 263.9);
Tailwind
colors: {
  custom: {
    50: '#616794',
    500: '#162f69',
    950: '#000000',
  },
}
SCSS
$custom: #162f69;
$custom-light: #616794;
$custom-dark: #000000;
JSON
{
  "hex": "#162f69",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 105
  },
  "hsl": {
    "h": 221.928,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32291,
    "c": 0.10643,
    "h": 263.9
  },
  "luminance": 0.03224
}

Semantic roles & 50–950 ramp

primary
#162F69
secondary
#9F813B
accent
#B53FE8
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #162F69

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

Preview Lab → · Contrast checker → · Palette generator →

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