#162C70#162C70

#162C70 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.121 H 266.0°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#162C70
RGBrgb(22, 44, 112)
HSLhsl(225, 67%, 26%)
HSVhsv(225, 80%, 44%)
CMYKcmyk(80.4%, 60.7%, 0%, 56.1%)
CIE-LABlab(20.60, 18.38, -41.80)
CIE-LCHlch(20.60, 45.66, 293.73°)
OKLaboklab(32.24% -0.0084 -0.1207)
OKLCHoklch(32.24% 0.121 266)
XYZxyz(4.1552, 3.1413, 15.7134)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C70 #705A16
analogous
#165970 #162C70 #2D1670
triadic
#162C70 #70162C #2C7016
tetradic
#162C70 #701659 #705A16 #16702D
square
#162C70 #701659 #705A16 #16702D
split-complementary
#162C70 #702D16 #597016
monochromatic
#050A1A #0C183D #162C70 #2040A3 #2B55D5

Accessibility & contrast

On white

12.90
#162C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162C70
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C70#FFFFFF#000000##FFFFFF
##162C701.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162c70;
/* rgb */ color: rgb(22, 44, 112);
/* oklch */ color: oklch(32.2% 0.121 266.0);
Tailwind
colors: {
  custom: {
    50: '#63649a',
    500: '#162c70',
    950: '#000000',
  },
}
SCSS
$custom: #162c70;
$custom-light: #63649a;
$custom-dark: #000000;
JSON
{
  "hex": "#162c70",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 112
  },
  "hsl": {
    "h": 225.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32235,
    "c": 0.12098,
    "h": 266
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#162C70
secondary
#A68C3C
accent
#C03EEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162C70

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

Preview Lab → · Contrast checker → · Palette generator →

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