#162964#162964

#162964 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.107 H 266.5°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#162964
RGBrgb(22, 41, 100)
HSLhsl(225, 64%, 24%)
HSVhsv(225, 78%, 39%)
CMYKcmyk(78%, 59%, 0%, 60.8%)
CIE-LABlab(18.70, 15.56, -37.09)
CIE-LCHlch(18.70, 40.23, 292.76°)
OKLaboklab(30.49% -0.0066 -0.1069)
OKLCHoklch(30.49% 0.107 266.5)
XYZxyz(3.4233, 2.6762, 12.3903)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162964 #645116
analogous
#165064 #162964 #2A1664
triadic
#162964 #641629 #296416
tetradic
#162964 #641650 #645116 #16642A
square
#162964 #641650 #645116 #16642A
split-complementary
#162964 #642A16 #506416
monochromatic
#060A19 #0B1432 #162964 #213E96 #2C52C8

Accessibility & contrast

On white

13.68
#162964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#162964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162964
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162964#FFFFFF#000000##FFFFFF
##1629641.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162964;
/* rgb */ color: rgb(22, 41, 100);
/* oklch */ color: oklch(30.5% 0.107 266.5);
Tailwind
colors: {
  custom: {
    50: '#606291',
    500: '#162964',
    950: '#000000',
  },
}
SCSS
$custom: #162964;
$custom-light: #606291;
$custom-dark: #000000;
JSON
{
  "hex": "#162964",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 100
  },
  "hsl": {
    "h": 225.385,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30485,
    "c": 0.10711,
    "h": 266.5
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#162964
secondary
#9B833B
accent
#BE41E7
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050D
muted
#7A797D

Preview Lab

Preview with #162964

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

Preview Lab → · Contrast checker → · Palette generator →

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