#101252#101252

#101252 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.113 H 272.4°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#101252
RGBrgb(16, 18, 82)
HSLhsl(238, 67%, 19%)
HSVhsv(238, 80%, 32%)
CMYKcmyk(80.5%, 78%, 0%, 67.8%)
CIE-LABlab(10.20, 24.02, -38.95)
CIE-LCHlch(10.20, 45.76, 301.66°)
OKLaboklab(23.59% 0.0047 -0.1127)
OKLCHoklch(23.59% 0.113 272.4)
XYZxyz(1.9525, 1.1518, 8.1004)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101252 #525010
analogous
#103352 #101252 #2F1052
triadic
#101252 #521012 #125210
tetradic
#101252 #521033 #525010 #10522F
square
#101252 #521033 #525010 #10522F
split-complementary
#101252 #522F10 #335210
monochromatic
#05061A #06071F #101252 #1A1D85 #2428B8

Accessibility & contrast

On white

17.07
#101252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#101252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101252
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101252#FFFFFF#000000##FFFFFF
##1012521.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#002430
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #101252;
/* rgb */ color: rgb(16, 18, 82);
/* oklch */ color: oklch(23.6% 0.113 272.4);
Tailwind
colors: {
  custom: {
    50: '#5b5083',
    500: '#101252',
    950: '#000000',
  },
}
SCSS
$custom: #101252;
$custom-light: #5b5083;
$custom-dark: #000000;
JSON
{
  "hex": "#101252",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 238.182,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23589,
    "c": 0.1128,
    "h": 272.4
  },
  "luminance": 0.01152
}

Semantic roles & 50–950 ramp

primary
#101252
secondary
#8C8932
accent
#E53EEA
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #101252

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

Preview Lab → · Contrast checker → · Palette generator →

#101252 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva