#162064#162064

#162064 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.6% C 0.119 H 270.3°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#162064
RGBrgb(22, 32, 100)
HSLhsl(232, 64%, 24%)
HSVhsv(232, 78%, 39%)
CMYKcmyk(78%, 68%, 0%, 60.8%)
CIE-LABlab(16.12, 22.10, -41.29)
CIE-LCHlch(16.12, 46.83, 298.15°)
OKLaboklab(28.57% 0.0006 -0.1194)
OKLCHoklch(28.57% 0.119 270.3)
XYZxyz(3.1469, 2.1234, 12.2981)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162064 #645A16
analogous
#164764 #162064 #331664
triadic
#162064 #641620 #206416
tetradic
#162064 #641647 #645A16 #166433
square
#162064 #641647 #645A16 #166433
split-complementary
#162064 #643316 #476416
monochromatic
#060819 #0B1032 #162064 #213096 #2C40C8

Accessibility & contrast

On white

14.74
#162064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#162064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162064
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162064#FFFFFF#000000##FFFFFF
##1620641.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002463
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162064;
/* rgb */ color: rgb(22, 32, 100);
/* oklch */ color: oklch(28.6% 0.119 270.3);
Tailwind
colors: {
  custom: {
    50: '#615b91',
    500: '#162064',
    950: '#000000',
  },
}
SCSS
$custom: #162064;
$custom-light: #615b91;
$custom-dark: #000000;
JSON
{
  "hex": "#162064",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 100
  },
  "hsl": {
    "h": 232.308,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28569,
    "c": 0.11936,
    "h": 270.3
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#162064
secondary
#9B8E3B
accent
#D241E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #162064

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

Preview Lab → · Contrast checker → · Palette generator →

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