#101251#101251

#101251 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.5% C 0.111 H 272.5°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#101251
RGBrgb(16, 18, 81)
HSLhsl(238, 67%, 19%)
HSVhsv(238, 80%, 32%)
CMYKcmyk(80.2%, 77.8%, 0%, 68.2%)
CIE-LABlab(10.08, 23.63, -38.45)
CIE-LCHlch(10.08, 45.13, 301.57°)
OKLaboklab(23.47% 0.0048 -0.1112)
OKLCHoklch(23.47% 0.111 272.5)
XYZxyz(1.9147, 1.1367, 7.9015)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101251 #514F10
analogous
#103351 #101251 #2F1051
triadic
#101251 #511012 #125110
tetradic
#101251 #511033 #514F10 #10512F
square
#101251 #511033 #514F10 #10512F
split-complementary
#101251 #512F10 #335110
monochromatic
#05061A #06071E #101251 #1A1D84 #2429B7

Accessibility & contrast

On white

17.11
#101251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #101251
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101251#FFFFFF#000000##FFFFFF
##1012511.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #101251;
/* rgb */ color: rgb(16, 18, 81);
/* oklch */ color: oklch(23.5% 0.111 272.5);
Tailwind
colors: {
  custom: {
    50: '#5b5083',
    500: '#101251',
    950: '#000000',
  },
}
SCSS
$custom: #101251;
$custom-light: #5b5083;
$custom-dark: #000000;
JSON
{
  "hex": "#101251",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 81
  },
  "hsl": {
    "h": 238.154,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23472,
    "c": 0.11136,
    "h": 272.5
  },
  "luminance": 0.01137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #101251

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

Preview Lab → · Contrast checker → · Palette generator →

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