#101F52#101F52

#101F52 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.095 H 267.0°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#101F52
RGBrgb(16, 31, 82)
HSLhsl(226, 67%, 19%)
HSVhsv(226, 80%, 32%)
CMYKcmyk(80.5%, 62.2%, 0%, 67.8%)
CIE-LABlab(13.82, 14.51, -33.01)
CIE-LCHlch(13.82, 36.06, 293.73°)
OKLaboklab(26.25% -0.0049 -0.0952)
OKLCHoklch(26.25% 0.095 267)
XYZxyz(2.2261, 1.6991, 8.1916)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101F52 #524310
analogous
#104052 #101F52 #221052
triadic
#101F52 #52101F #1F5210
tetradic
#101F52 #521040 #524310 #105222
square
#101F52 #521040 #524310 #105222
split-complementary
#101F52 #522210 #405210
monochromatic
#050A1A #060C1F #101F52 #1A3285 #2446B8

Accessibility & contrast

On white

15.67
#101F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#101F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101F52
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101F52#FFFFFF#000000##FFFFFF
##101F521.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#002051
Tritanopia (blue-blind)
#002C35
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #101f52;
/* rgb */ color: rgb(16, 31, 82);
/* oklch */ color: oklch(26.3% 0.095 267.0);
Tailwind
colors: {
  custom: {
    50: '#595a83',
    500: '#101f52',
    950: '#000000',
  },
}
SCSS
$custom: #101f52;
$custom-light: #595a83;
$custom-dark: #000000;
JSON
{
  "hex": "#101f52",
  "rgb": {
    "r": 16,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 226.364,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2625,
    "c": 0.09535,
    "h": 267
  },
  "luminance": 0.01699
}

Semantic roles & 50–950 ramp

primary
#101F52
secondary
#8C7732
accent
#C33EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #101F52

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

Preview Lab → · Contrast checker → · Palette generator →

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