#101981#101981

#101981 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.168 H 267.9°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#101981
RGBrgb(16, 25, 129)
HSLhsl(235, 78%, 28%)
HSVhsv(235, 88%, 51%)
CMYKcmyk(87.6%, 80.6%, 0%, 49.4%)
CIE-LABlab(17.41, 37.16, -57.92)
CIE-LCHlch(17.41, 68.82, 302.68°)
OKLaboklab(30.38% -0.006 -0.1679)
OKLCHoklch(30.38% 0.168 267.9)
XYZxyz(4.5224, 2.3898, 20.9876)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101981 #817810
analogous
#105181 #101981 #3F1081
triadic
#101981 #811019 #198110
tetradic
#101981 #811051 #817810 #10813F
square
#101981 #811051 #817810 #10813F
split-complementary
#101981 #813F10 #518110
monochromatic
#03051B #090E4B #101981 #1724B7 #2736E4

Accessibility & contrast

On white

14.21
#101981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#101981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101981
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101981#FFFFFF#000000##FFFFFF
##1019811.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00257F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #101981;
/* rgb */ color: rgb(16, 25, 129);
/* oklch */ color: oklch(30.4% 0.168 267.9);
Tailwind
colors: {
  custom: {
    50: '#6857a7',
    500: '#101981',
    950: '#000000',
  },
}
SCSS
$custom: #101981;
$custom-light: #6857a7;
$custom-dark: #000000;
JSON
{
  "hex": "#101981",
  "rgb": {
    "r": 16,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 235.221,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30377,
    "c": 0.16797,
    "h": 267.9
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#101981
secondary
#B7AD36
accent
#E533F4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080310
muted
#7A787F

Preview Lab

Preview with #101981

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

Preview Lab → · Contrast checker → · Palette generator →

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