#101F54#101F54

#101F54 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.098 H 267.2°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#101F54
RGBrgb(16, 31, 84)
HSLhsl(227, 68%, 20%)
HSVhsv(227, 81%, 33%)
CMYKcmyk(81%, 63.1%, 0%, 67.1%)
CIE-LABlab(14.00, 15.37, -34.08)
CIE-LCHlch(14.00, 37.39, 294.28°)
OKLaboklab(26.44% -0.0048 -0.0984)
OKLCHoklch(26.44% 0.098 267.2)
XYZxyz(2.3033, 1.7300, 8.5983)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101F54 #544510
analogous
#104154 #101F54 #231054
triadic
#101F54 #54101F #1F5410
tetradic
#101F54 #541041 #544510 #105423
square
#101F54 #541041 #544510 #105423
split-complementary
#101F54 #542310 #415410
monochromatic
#05091A #060C21 #101F54 #1A3287 #2445BB

Accessibility & contrast

On white

15.60
#101F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#101F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101F54
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101F54#FFFFFF#000000##FFFFFF
##101F541.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#002153
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #101f54;
/* rgb */ color: rgb(16, 31, 84);
/* oklch */ color: oklch(26.4% 0.098 267.2);
Tailwind
colors: {
  custom: {
    50: '#5a5a85',
    500: '#101f54',
    950: '#000000',
  },
}
SCSS
$custom: #101f54;
$custom-light: #5a5a85;
$custom-dark: #000000;
JSON
{
  "hex": "#101f54",
  "rgb": {
    "r": 16,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 226.765,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26441,
    "c": 0.09847,
    "h": 267.2
  },
  "luminance": 0.0173
}

Semantic roles & 50–950 ramp

primary
#101F54
secondary
#8E7932
accent
#C43DEB
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #101F54

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

Preview Lab → · Contrast checker → · Palette generator →

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