#162C75#162C75

#162C75 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.7% C 0.128 H 266.3°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#162C75
RGBrgb(22, 44, 117)
HSLhsl(226, 68%, 27%)
HSVhsv(226, 81%, 46%)
CMYKcmyk(81.2%, 62.4%, 0%, 54.1%)
CIE-LABlab(21.04, 20.43, -44.30)
CIE-LCHlch(21.04, 48.78, 294.76°)
OKLaboklab(32.7% -0.0082 -0.128)
OKLCHoklch(32.7% 0.128 266.3)
XYZxyz(4.4413, 3.2558, 17.2205)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C75 #755F16
analogous
#165C75 #162C75 #2F1675
triadic
#162C75 #75162C #2C7516
tetradic
#162C75 #75165C #755F16 #16752F
square
#162C75 #75165C #755F16 #16752F
split-complementary
#162C75 #752F16 #5C7516
monochromatic
#050A1A #0C1941 #162C75 #203FA9 #2E55D8

Accessibility & contrast

On white

12.72
#162C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#162C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C75
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C75#FFFFFF#000000##FFFFFF
##162C751.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162c75;
/* rgb */ color: rgb(22, 44, 117);
/* oklch */ color: oklch(32.7% 0.128 266.3);
Tailwind
colors: {
  custom: {
    50: '#64649d',
    500: '#162c75',
    950: '#000000',
  },
}
SCSS
$custom: #162c75;
$custom-light: #64649d;
$custom-dark: #000000;
JSON
{
  "hex": "#162c75",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 226.105,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32701,
    "c": 0.12827,
    "h": 266.3
  },
  "luminance": 0.03256
}

Semantic roles & 50–950 ramp

primary
#162C75
secondary
#AB913C
accent
#C33DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162C75

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

Preview Lab → · Contrast checker → · Palette generator →

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