#162281#162281

#162281 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.157 H 268.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#162281
RGBrgb(22, 34, 129)
HSLhsl(233, 71%, 30%)
HSVhsv(233, 83%, 51%)
CMYKcmyk(82.9%, 73.6%, 0%, 49.4%)
CIE-LABlab(19.63, 32.03, -54.24)
CIE-LCHlch(19.63, 62.99, 300.57°)
OKLaboklab(32.03% -0.0032 -0.1571)
OKLCHoklch(32.03% 0.157 268.8)
XYZxyz(4.8640, 2.8990, 21.0678)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162281 #817516
analogous
#165881 #162281 #401681
triadic
#162281 #811622 #228116
tetradic
#162281 #811658 #817516 #168140
square
#162281 #811658 #817516 #168140
split-complementary
#162281 #814016 #588116
monochromatic
#04071A #0D144D #162281 #1F30B5 #3548DD

Accessibility & contrast

On white

13.29
#162281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#162281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162281
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162281#FFFFFF#000000##FFFFFF
##1622811.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162281;
/* rgb */ color: rgb(22, 34, 129);
/* oklch */ color: oklch(32.0% 0.157 268.8);
Tailwind
colors: {
  custom: {
    50: '#695da7',
    500: '#162281',
    950: '#000000',
  },
}
SCSS
$custom: #162281;
$custom-light: #695da7;
$custom-dark: #000000;
JSON
{
  "hex": "#162281",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 233.271,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32032,
    "c": 0.15717,
    "h": 268.8
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#162281
secondary
#B6A83D
accent
#D93AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F

Preview Lab

Preview with #162281

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

Preview Lab → · Contrast checker → · Palette generator →

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