#162D75#162D75

#162D75 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.127 H 266.0°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#162D75
RGBrgb(22, 45, 117)
HSLhsl(225, 68%, 27%)
HSVhsv(225, 81%, 46%)
CMYKcmyk(81.2%, 61.5%, 0%, 54.1%)
CIE-LABlab(21.32, 19.72, -43.83)
CIE-LCHlch(21.32, 48.06, 294.22°)
OKLaboklab(32.91% -0.0089 -0.1266)
OKLCHoklch(32.91% 0.127 266)
XYZxyz(4.4790, 3.3312, 17.2331)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D75 #755E16
analogous
#165C75 #162D75 #2F1675
triadic
#162D75 #75162D #2D7516
tetradic
#162D75 #75165C #755E16 #16752F
square
#162D75 #75165C #755E16 #16752F
split-complementary
#162D75 #752F16 #5C7516
monochromatic
#050A1A #0C1941 #162D75 #2041A9 #2E57D8

Accessibility & contrast

On white

12.60
#162D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162D75
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D75#FFFFFF#000000##FFFFFF
##162D751.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #162d75;
/* rgb */ color: rgb(22, 45, 117);
/* oklch */ color: oklch(32.9% 0.127 266.0);
Tailwind
colors: {
  custom: {
    50: '#64659d',
    500: '#162d75',
    950: '#000000',
  },
}
SCSS
$custom: #162d75;
$custom-light: #64659d;
$custom-dark: #000000;
JSON
{
  "hex": "#162d75",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 117
  },
  "hsl": {
    "h": 225.474,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32913,
    "c": 0.12694,
    "h": 266
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#162D75
secondary
#AB903C
accent
#C13DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162D75

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

Preview Lab → · Contrast checker → · Palette generator →

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