#101F81#101F81

#101F81 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.162 H 267.3°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#101F81
RGBrgb(16, 31, 129)
HSLhsl(232, 78%, 28%)
HSVhsv(232, 88%, 51%)
CMYKcmyk(87.6%, 76%, 0%, 49.4%)
CIE-LABlab(18.69, 33.54, -55.81)
CIE-LCHlch(18.69, 65.11, 301.00°)
OKLaboklab(31.28% -0.0076 -0.1618)
OKLCHoklch(31.28% 0.162 267.3)
XYZxyz(4.6647, 2.6745, 21.0350)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101F81 #817210
analogous
#105781 #101F81 #391081
triadic
#101F81 #81101F #1F8110
tetradic
#101F81 #811057 #817210 #108139
square
#101F81 #811057 #817210 #108139
split-complementary
#101F81 #813910 #578110
monochromatic
#03071B #09124B #101F81 #172CB7 #2740E4

Accessibility & contrast

On white

13.68
#101F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#101F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101F81
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101F81#FFFFFF#000000##FFFFFF
##101F811.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#00287F
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #101f81;
/* rgb */ color: rgb(16, 31, 129);
/* oklch */ color: oklch(31.3% 0.162 267.3);
Tailwind
colors: {
  custom: {
    50: '#685ba7',
    500: '#101f81',
    950: '#000000',
  },
}
SCSS
$custom: #101f81;
$custom-light: #685ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#101f81",
  "rgb": {
    "r": 16,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 232.035,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31284,
    "c": 0.16197,
    "h": 267.3
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#101F81
secondary
#B7A636
accent
#DB33F4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F

Preview Lab

Preview with #101F81

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

Preview Lab → · Contrast checker → · Palette generator →

#101F81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva