#101231#101231

#101231 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.1% C 0.061 H 276.7°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#101231
RGBrgb(16, 18, 49)
HSLhsl(236, 51%, 13%)
HSVhsv(236, 67%, 19%)
CMYKcmyk(67.3%, 63.3%, 0%, 80.8%)
CIE-LABlab(6.91, 10.25, -20.92)
CIE-LCHlch(6.91, 23.30, 296.10°)
OKLaboklab(20.11% 0.0071 -0.0601)
OKLCHoklch(20.11% 0.061 276.7)
XYZxyz(0.9842, 0.7645, 3.0008)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101231 #312F10
analogous
#102231 #101231 #1E1031
triadic
#101231 #311012 #123110
tetradic
#101231 #311022 #312F10 #10311E
square
#101231 #311022 #312F10 #10311E
split-complementary
#101231 #311E10 #223110
monochromatic
#080817 #080817 #101231 #1F235F #2E348D

Accessibility & contrast

On white

18.21
#101231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#101231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101231
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101231#FFFFFF#000000##FFFFFF
##1012311.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031732
Deuteranopia (green-blind)
#001430
Tritanopia (blue-blind)
#02191F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #101231;
/* rgb */ color: rgb(16, 18, 49);
/* oklch */ color: oklch(20.1% 0.061 276.7);
Tailwind
colors: {
  custom: {
    50: '#524f69',
    500: '#101231',
    950: '#000000',
  },
}
SCSS
$custom: #101231;
$custom-light: #524f69;
$custom-dark: #000000;
JSON
{
  "hex": "#101231",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 236.364,
    "s": 50.769,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2011,
    "c": 0.06053,
    "h": 276.7
  },
  "luminance": 0.00765
}

Semantic roles & 50–950 ramp

primary
#101231
secondary
#6A6733
accent
#D24EDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #101231

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

Preview Lab → · Contrast checker → · Palette generator →

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