#162D70#162D70

#162D70 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.120 H 265.6°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#162D70
RGBrgb(22, 45, 112)
HSLhsl(225, 67%, 26%)
HSVhsv(225, 80%, 44%)
CMYKcmyk(80.4%, 59.8%, 0%, 56.1%)
CIE-LABlab(20.89, 17.65, -41.33)
CIE-LCHlch(20.89, 44.94, 293.13°)
OKLaboklab(32.45% -0.0091 -0.1193)
OKLCHoklch(32.45% 0.12 265.6)
XYZxyz(4.1929, 3.2167, 15.7260)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D70 #705916
analogous
#165A70 #162D70 #2C1670
triadic
#162D70 #70162D #2D7016
tetradic
#162D70 #70165A #705916 #16702C
square
#162D70 #70165A #705916 #16702C
split-complementary
#162D70 #702C16 #5A7016
monochromatic
#050A1A #0C183D #162D70 #2042A3 #2B57D5

Accessibility & contrast

On white

12.78
#162D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162D70
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D70#FFFFFF#000000##FFFFFF
##162D701.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162d70;
/* rgb */ color: rgb(22, 45, 112);
/* oklch */ color: oklch(32.5% 0.120 265.6);
Tailwind
colors: {
  custom: {
    50: '#63659a',
    500: '#162d70',
    950: '#000000',
  },
}
SCSS
$custom: #162d70;
$custom-light: #63659a;
$custom-dark: #000000;
JSON
{
  "hex": "#162d70",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 224.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32453,
    "c": 0.11963,
    "h": 265.6
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#162D70
secondary
#A68B3C
accent
#BE3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162D70

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

Preview Lab → · Contrast checker → · Palette generator →

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