#101F5A#101F5A

#101F5A is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.108 H 267.5°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#101F5A
RGBrgb(16, 31, 90)
HSLhsl(228, 70%, 21%)
HSVhsv(228, 82%, 35%)
CMYKcmyk(82.2%, 65.6%, 0%, 64.7%)
CIE-LABlab(14.56, 17.94, -37.22)
CIE-LCHlch(14.56, 41.31, 295.74°)
OKLaboklab(27.03% -0.0047 -0.1075)
OKLCHoklch(27.03% 0.108 267.5)
XYZxyz(2.5485, 1.8280, 9.8894)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101F5A #5A4B10
analogous
#10445A #101F5A #26105A
triadic
#101F5A #5A101F #1F5A10
tetradic
#101F5A #5A1044 #5A4B10 #105A26
square
#101F5A #5A1044 #5A4B10 #105A26
split-complementary
#101F5A #5A2610 #445A10
monochromatic
#05091A #070D26 #101F5A #19318E #2243C2

Accessibility & contrast

On white

15.38
#101F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #101F5A
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101F5A#FFFFFF#000000##FFFFFF
##101F5A1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002159
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #101f5a;
/* rgb */ color: rgb(16, 31, 90);
/* oklch */ color: oklch(27.0% 0.108 267.5);
Tailwind
colors: {
  custom: {
    50: '#5c5a89',
    500: '#101f5a',
    950: '#000000',
  },
}
SCSS
$custom: #101f5a;
$custom-light: #5c5a89;
$custom-dark: #000000;
JSON
{
  "hex": "#101f5a",
  "rgb": {
    "r": 16,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 227.838,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27029,
    "c": 0.10765,
    "h": 267.5
  },
  "luminance": 0.01828
}

Semantic roles & 50–950 ramp

primary
#101F5A
secondary
#938033
accent
#C93BED
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #101F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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