#101581#101581

#101581 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.172 H 268.2°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#101581
RGBrgb(16, 21, 129)
HSLhsl(237, 78%, 28%)
HSVhsv(237, 88%, 51%)
CMYKcmyk(87.6%, 83.7%, 0%, 49.4%)
CIE-LABlab(16.66, 39.36, -59.18)
CIE-LCHlch(16.66, 71.07, 303.63°)
OKLaboklab(29.85% -0.0052 -0.1714)
OKLCHoklch(29.85% 0.172 268.2)
XYZxyz(4.4429, 2.2309, 20.9611)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101581 #817C10
analogous
#104D81 #101581 #431081
triadic
#101581 #811015 #158110
tetradic
#101581 #81104D #817C10 #108143
square
#101581 #81104D #817C10 #108143
split-complementary
#101581 #814310 #4D8110
monochromatic
#03041B #090C4B #101581 #171EB7 #2730E4

Accessibility & contrast

On white

14.52
#101581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#101581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101581
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101581#FFFFFF#000000##FFFFFF
##1015811.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00237F
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #101581;
/* rgb */ color: rgb(16, 21, 129);
/* oklch */ color: oklch(29.8% 0.172 268.2);
Tailwind
colors: {
  custom: {
    50: '#6955a7',
    500: '#101581',
    950: '#000000',
  },
}
SCSS
$custom: #101581;
$custom-light: #6955a7;
$custom-dark: #000000;
JSON
{
  "hex": "#101581",
  "rgb": {
    "r": 16,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 237.345,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29846,
    "c": 0.1715,
    "h": 268.2
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#101581
secondary
#B7B136
accent
#EC33F4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080310
muted
#7A787F

Preview Lab

Preview with #101581

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

Preview Lab → · Contrast checker → · Palette generator →

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