#162464#162464

#162464 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.114 H 268.8°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#162464
RGBrgb(22, 36, 100)
HSLhsl(229, 64%, 24%)
HSVhsv(229, 78%, 39%)
CMYKcmyk(78%, 64%, 0%, 60.8%)
CIE-LABlab(17.24, 19.21, -39.47)
CIE-LCHlch(17.24, 43.90, 295.96°)
OKLaboklab(29.39% -0.0024 -0.114)
OKLCHoklch(29.39% 0.114 268.8)
XYZxyz(3.2612, 2.3521, 12.3362)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162464 #645616
analogous
#164B64 #162464 #2F1664
triadic
#162464 #641624 #246416
tetradic
#162464 #64164B #645616 #16642F
square
#162464 #64164B #645616 #16642F
split-complementary
#162464 #642F16 #4B6416
monochromatic
#060919 #0B1232 #162464 #213696 #2C48C8

Accessibility & contrast

On white

14.28
#162464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#162464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162464
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162464#FFFFFF#000000##FFFFFF
##1624641.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#003440
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162464;
/* rgb */ color: rgb(22, 36, 100);
/* oklch */ color: oklch(29.4% 0.114 268.8);
Tailwind
colors: {
  custom: {
    50: '#605e91',
    500: '#162464',
    950: '#000000',
  },
}
SCSS
$custom: #162464;
$custom-light: #605e91;
$custom-dark: #000000;
JSON
{
  "hex": "#162464",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 100
  },
  "hsl": {
    "h": 229.231,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29392,
    "c": 0.114,
    "h": 268.8
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#162464
secondary
#9B8A3B
accent
#C941E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040D
muted
#7A797D

Preview Lab

Preview with #162464

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

Preview Lab → · Contrast checker → · Palette generator →

#162464 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva