#162481#162481

#162481 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.155 H 268.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#162481
RGBrgb(22, 36, 129)
HSLhsl(232, 71%, 30%)
HSVhsv(232, 83%, 51%)
CMYKcmyk(82.9%, 72.1%, 0%, 49.4%)
CIE-LABlab(20.11, 30.73, -53.45)
CIE-LCHlch(20.11, 61.66, 299.89°)
OKLaboklab(32.38% -0.0041 -0.1549)
OKLCHoklch(32.38% 0.155 268.5)
XYZxyz(4.9228, 3.0167, 21.0875)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162481 #817316
analogous
#165981 #162481 #3E1681
triadic
#162481 #811624 #248116
tetradic
#162481 #811659 #817316 #16813E
square
#162481 #811659 #817316 #16813E
split-complementary
#162481 #813E16 #598116
monochromatic
#04071A #0D154D #162481 #1F33B5 #354BDD

Accessibility & contrast

On white

13.10
#162481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#162481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162481
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162481#FFFFFF#000000##FFFFFF
##1624811.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162481;
/* rgb */ color: rgb(22, 36, 129);
/* oklch */ color: oklch(32.4% 0.155 268.5);
Tailwind
colors: {
  custom: {
    50: '#695fa7',
    500: '#162481',
    950: '#000000',
  },
}
SCSS
$custom: #162481;
$custom-light: #695fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#162481",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 129
  },
  "hsl": {
    "h": 232.15,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32375,
    "c": 0.15491,
    "h": 268.5
  },
  "luminance": 0.03017
}

Semantic roles & 50–950 ramp

primary
#162481
secondary
#B6A63D
accent
#D63AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #162481

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

Preview Lab → · Contrast checker → · Palette generator →

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