#162F70#162F70

#162F70 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.117 H 264.7°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#162F70
RGBrgb(22, 47, 112)
HSLhsl(223, 67%, 26%)
HSVhsv(223, 80%, 44%)
CMYKcmyk(80.4%, 58%, 0%, 56.1%)
CIE-LABlab(21.48, 16.21, -40.37)
CIE-LCHlch(21.48, 43.50, 291.88°)
OKLaboklab(32.9% -0.0107 -0.1164)
OKLCHoklch(32.9% 0.117 264.7)
XYZxyz(4.2710, 3.3730, 15.7520)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F70 #705716
analogous
#165C70 #162F70 #2A1670
triadic
#162F70 #70162F #2F7016
tetradic
#162F70 #70165C #705716 #16702A
square
#162F70 #70165C #705716 #16702A
split-complementary
#162F70 #702A16 #5C7016
monochromatic
#050B1A #0C1A3D #162F70 #2044A3 #2B5AD5

Accessibility & contrast

On white

12.54
#162F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#162F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F70
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F70#FFFFFF#000000##FFFFFF
##162F701.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #162f70;
/* rgb */ color: rgb(22, 47, 112);
/* oklch */ color: oklch(32.9% 0.117 264.7);
Tailwind
colors: {
  custom: {
    50: '#63679a',
    500: '#162f70',
    950: '#000000',
  },
}
SCSS
$custom: #162f70;
$custom-light: #63679a;
$custom-dark: #000000;
JSON
{
  "hex": "#162f70",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 223.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32896,
    "c": 0.11692,
    "h": 264.7
  },
  "luminance": 0.03373
}

Semantic roles & 50–950 ramp

primary
#162F70
secondary
#A6883C
accent
#BA3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #162F70

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

Preview Lab → · Contrast checker → · Palette generator →

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