#101227#101227

#101227 is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.3% C 0.042 H 277.6°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#101227
RGBrgb(16, 18, 39)
HSLhsl(235, 42%, 11%)
HSVhsv(235, 59%, 15%)
CMYKcmyk(59%, 53.8%, 0%, 84.7%)
CIE-LABlab(6.23, 5.78, -14.54)
CIE-LCHlch(6.23, 15.64, 291.67°)
OKLaboklab(19.27% 0.0056 -0.0419)
OKLCHoklch(19.27% 0.042 277.6)
XYZxyz(0.7961, 0.6892, 2.0101)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101227 #272510
analogous
#101D27 #101227 #191027
triadic
#101227 #271012 #122710
tetradic
#101227 #27101D #272510 #102719
square
#101227 #27101D #272510 #102719
split-complementary
#101227 #271910 #1D2710
monochromatic
#090A16 #090A16 #101227 #222652 #343A7E

Accessibility & contrast

On white

18.46
#101227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#101227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101227
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101227#FFFFFF#000000##FFFFFF
##1012271.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1528
Deuteranopia (green-blind)
#081327
Tritanopia (blue-blind)
#08161A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #101227;
/* rgb */ color: rgb(16, 18, 39);
/* oklch */ color: oklch(19.3% 0.042 277.6);
Tailwind
colors: {
  custom: {
    50: '#4f4f61',
    500: '#101227',
    950: '#000000',
  },
}
SCSS
$custom: #101227;
$custom-light: #4f4f61;
$custom-dark: #000000;
JSON
{
  "hex": "#101227",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 39
  },
  "hsl": {
    "h": 234.783,
    "s": 41.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19273,
    "c": 0.04224,
    "h": 277.6
  },
  "luminance": 0.00689
}

Semantic roles & 50–950 ramp

primary
#101227
secondary
#5F5B34
accent
#C756D2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020205
muted
#787879

Preview Lab

Preview with #101227

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

Preview Lab → · Contrast checker → · Palette generator →

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