#162B75#162B75

#162B75 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.130 H 266.7°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#162B75
RGBrgb(22, 43, 117)
HSLhsl(227, 68%, 27%)
HSVhsv(227, 81%, 46%)
CMYKcmyk(81.2%, 63.2%, 0%, 54.1%)
CIE-LABlab(20.76, 21.15, -44.75)
CIE-LCHlch(20.76, 49.50, 295.29°)
OKLaboklab(32.49% -0.0075 -0.1294)
OKLCHoklch(32.49% 0.13 266.7)
XYZxyz(4.4045, 3.1822, 17.2083)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B75 #756016
analogous
#165A75 #162B75 #311675
triadic
#162B75 #75162B #2B7516
tetradic
#162B75 #75165A #756016 #167531
square
#162B75 #75165A #756016 #167531
split-complementary
#162B75 #753116 #5A7516
monochromatic
#05091A #0C1841 #162B75 #203EA9 #2E53D8

Accessibility & contrast

On white

12.83
#162B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162B75
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B75#FFFFFF#000000##FFFFFF
##162B751.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162b75;
/* rgb */ color: rgb(22, 43, 117);
/* oklch */ color: oklch(32.5% 0.130 266.7);
Tailwind
colors: {
  custom: {
    50: '#64649d',
    500: '#162b75',
    950: '#000000',
  },
}
SCSS
$custom: #162b75;
$custom-light: #64649d;
$custom-dark: #000000;
JSON
{
  "hex": "#162b75",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 117
  },
  "hsl": {
    "h": 226.737,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32491,
    "c": 0.12959,
    "h": 266.7
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#162B75
secondary
#AB923C
accent
#C53DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162B75

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

Preview Lab → · Contrast checker → · Palette generator →

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