#162564#162564

#162564 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.113 H 268.3°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#162564
RGBrgb(22, 37, 100)
HSLhsl(228, 64%, 24%)
HSVhsv(228, 78%, 39%)
CMYKcmyk(78%, 63%, 0%, 60.8%)
CIE-LABlab(17.52, 18.49, -39.01)
CIE-LCHlch(17.52, 43.16, 295.36°)
OKLaboklab(29.6% -0.0032 -0.1126)
OKLCHoklch(29.6% 0.113 268.3)
XYZxyz(3.2919, 2.4135, 12.3465)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162564 #645516
analogous
#164C64 #162564 #2E1664
triadic
#162564 #641625 #256416
tetradic
#162564 #64164C #645516 #16642E
square
#162564 #64164C #645516 #16642E
split-complementary
#162564 #642E16 #4C6416
monochromatic
#060919 #0B1232 #162564 #213896 #2C4AC8

Accessibility & contrast

On white

14.16
#162564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#162564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162564
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162564#FFFFFF#000000##FFFFFF
##1625641.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162564;
/* rgb */ color: rgb(22, 37, 100);
/* oklch */ color: oklch(29.6% 0.113 268.3);
Tailwind
colors: {
  custom: {
    50: '#605f91',
    500: '#162564',
    950: '#000000',
  },
}
SCSS
$custom: #162564;
$custom-light: #605f91;
$custom-dark: #000000;
JSON
{
  "hex": "#162564",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 100
  },
  "hsl": {
    "h": 228.462,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29605,
    "c": 0.11264,
    "h": 268.3
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#162564
secondary
#9B883B
accent
#C741E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040D
muted
#7A797D

Preview Lab

Preview with #162564

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

Preview Lab → · Contrast checker → · Palette generator →

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