#162681#162681

#162681 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.153 H 268.1°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#162681
RGBrgb(22, 38, 129)
HSLhsl(231, 71%, 30%)
HSVhsv(231, 83%, 51%)
CMYKcmyk(82.9%, 70.5%, 0%, 49.4%)
CIE-LABlab(20.60, 29.40, -52.65)
CIE-LCHlch(20.60, 60.30, 299.18°)
OKLaboklab(32.73% -0.0051 -0.1525)
OKLCHoklch(32.73% 0.153 268.1)
XYZxyz(4.9851, 3.1412, 21.1082)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162681 #817116
analogous
#165C81 #162681 #3C1681
triadic
#162681 #811626 #268116
tetradic
#162681 #81165C #817116 #16813C
square
#162681 #81165C #817116 #16813C
split-complementary
#162681 #813C16 #5C8116
monochromatic
#04081A #0D174D #162681 #1F35B5 #354EDD

Accessibility & contrast

On white

12.90
#162681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#162681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162681
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162681#FFFFFF#000000##FFFFFF
##1626811.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#002C7F
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162681;
/* rgb */ color: rgb(22, 38, 129);
/* oklch */ color: oklch(32.7% 0.153 268.1);
Tailwind
colors: {
  custom: {
    50: '#6860a7',
    500: '#162681',
    950: '#000000',
  },
}
SCSS
$custom: #162681;
$custom-light: #6860a7;
$custom-dark: #000000;
JSON
{
  "hex": "#162681",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 129
  },
  "hsl": {
    "h": 231.028,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32731,
    "c": 0.15258,
    "h": 268.1
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#162681
secondary
#B6A43D
accent
#D33AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #162681

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

Preview Lab → · Contrast checker → · Palette generator →

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