#101F5E#101F5E

#101F5E is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.114 H 267.6°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#101F5E
RGBrgb(16, 31, 94)
HSLhsl(228, 71%, 22%)
HSVhsv(228, 83%, 37%)
CMYKcmyk(83%, 67%, 0%, 63.1%)
CIE-LABlab(14.94, 19.63, -39.26)
CIE-LCHlch(14.94, 43.89, 296.56°)
OKLaboklab(27.43% -0.0047 -0.1135)
OKLCHoklch(27.43% 0.114 267.6)
XYZxyz(2.7233, 1.8980, 10.8103)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101F5E #5E4F10
analogous
#10465E #101F5E #28105E
triadic
#101F5E #5E101F #1F5E10
tetradic
#101F5E #5E1046 #5E4F10 #105E28
square
#101F5E #5E1046 #5E4F10 #105E28
split-complementary
#101F5E #5E2810 #465E10
monochromatic
#04091A #070E2A #101F5E #193092 #2241C7

Accessibility & contrast

On white

15.22
#101F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#101F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101F5E
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101F5E#FFFFFF#000000##FFFFFF
##101F5E1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#00225D
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #101f5e;
/* rgb */ color: rgb(16, 31, 94);
/* oklch */ color: oklch(27.4% 0.114 267.6);
Tailwind
colors: {
  custom: {
    50: '#5d5a8c',
    500: '#101f5e',
    950: '#000000',
  },
}
SCSS
$custom: #101f5e;
$custom-light: #5d5a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#101f5e",
  "rgb": {
    "r": 16,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 228.462,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.27433,
    "c": 0.11365,
    "h": 267.6
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#101F5E
secondary
#978433
accent
#CB3AEE
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #101F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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