#101F5F#101F5F

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

Color values

HEX#101F5F
RGBrgb(16, 31, 95)
HSLhsl(229, 71%, 22%)
HSVhsv(229, 83%, 37%)
CMYKcmyk(83.2%, 67.4%, 0%, 62.7%)
CIE-LABlab(15.04, 20.05, -39.77)
CIE-LCHlch(15.04, 44.53, 296.75°)
OKLaboklab(27.54% -0.0048 -0.115)
OKLCHoklch(27.54% 0.115 267.6)
XYZxyz(2.7685, 1.9160, 11.0482)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101F5F #5F5010
analogous
#10475F #101F5F #29105F
triadic
#101F5F #5F101F #1F5F10
tetradic
#101F5F #5F1047 #5F5010 #105F29
square
#101F5F #5F1047 #5F5010 #105F29
split-complementary
#101F5F #5F2910 #475F10
monochromatic
#04091A #070E2B #101F5F #193093 #2241C8

Accessibility & contrast

On white

15.18
#101F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #101F5F
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101F5F#FFFFFF#000000##FFFFFF
##101F5F1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#00225E
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #101f5f;
/* rgb */ color: rgb(16, 31, 95);
/* oklch */ color: oklch(27.5% 0.115 267.6);
Tailwind
colors: {
  custom: {
    50: '#5d5a8d',
    500: '#101f5f',
    950: '#000000',
  },
}
SCSS
$custom: #101f5f;
$custom-light: #5d5a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#101f5f",
  "rgb": {
    "r": 16,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 228.608,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27536,
    "c": 0.11513,
    "h": 267.6
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#101F5F
secondary
#988533
accent
#CC3AEE
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #101F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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