#162E72#162E72

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

Color values

HEX#162E72
RGBrgb(22, 46, 114)
HSLhsl(224, 68%, 27%)
HSVhsv(224, 81%, 45%)
CMYKcmyk(80.7%, 59.6%, 0%, 55.3%)
CIE-LABlab(21.35, 17.76, -41.86)
CIE-LCHlch(21.35, 45.47, 292.99°)
OKLaboklab(32.85% -0.0098 -0.1208)
OKLCHoklch(32.85% 0.121 265.4)
XYZxyz(4.3441, 3.3390, 16.3319)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E72 #725A16
analogous
#165C72 #162E72 #2C1672
triadic
#162E72 #72162E #2E7216
tetradic
#162E72 #72165C #725A16 #16722C
square
#162E72 #72165C #725A16 #16722C
split-complementary
#162E72 #722C16 #5C7216
monochromatic
#050A1A #0C193F #162E72 #2043A5 #2C59D6

Accessibility & contrast

On white

12.59
#162E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162E72
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E72#FFFFFF#000000##FFFFFF
##162E721.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #162e72;
/* rgb */ color: rgb(22, 46, 114);
/* oklch */ color: oklch(32.9% 0.121 265.4);
Tailwind
colors: {
  custom: {
    50: '#63669b',
    500: '#162e72',
    950: '#000000',
  },
}
SCSS
$custom: #162e72;
$custom-light: #63669b;
$custom-dark: #000000;
JSON
{
  "hex": "#162e72",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 224.348,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32853,
    "c": 0.12123,
    "h": 265.4
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#162E72
secondary
#A88C3C
accent
#BD3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162E72

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

Preview Lab → · Contrast checker → · Palette generator →

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