#101F5C#101F5C

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

Color values

HEX#101F5C
RGBrgb(16, 31, 92)
HSLhsl(228, 70%, 21%)
HSVhsv(228, 83%, 36%)
CMYKcmyk(82.6%, 66.3%, 0%, 63.9%)
CIE-LABlab(14.75, 18.79, -38.24)
CIE-LCHlch(14.75, 42.61, 296.16°)
OKLaboklab(27.23% -0.0047 -0.1106)
OKLCHoklch(27.23% 0.111 267.6)
XYZxyz(2.6348, 1.8625, 10.3438)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101F5C #5C4D10
analogous
#10455C #101F5C #27105C
triadic
#101F5C #5C101F #1F5C10
tetradic
#101F5C #5C1045 #5C4D10 #105C27
square
#101F5C #5C1045 #5C4D10 #105C27
split-complementary
#101F5C #5C2710 #455C10
monochromatic
#05091A #070D28 #101F5C #193190 #2242C4

Accessibility & contrast

On white

15.30
#101F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#101F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101F5C
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101F5C#FFFFFF#000000##FFFFFF
##101F5C1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#00225B
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #101f5c;
/* rgb */ color: rgb(16, 31, 92);
/* oklch */ color: oklch(27.2% 0.111 267.6);
Tailwind
colors: {
  custom: {
    50: '#5c5a8b',
    500: '#101f5c',
    950: '#000000',
  },
}
SCSS
$custom: #101f5c;
$custom-light: #5c5a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#101f5c",
  "rgb": {
    "r": 16,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 228.158,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2723,
    "c": 0.11066,
    "h": 267.6
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#101F5C
secondary
#958233
accent
#CA3BED
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #101F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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