#101228#101228

#101228 is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.4% C 0.044 H 277.5°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#101228
RGBrgb(16, 18, 40)
HSLhsl(235, 43%, 11%)
HSVhsv(235, 60%, 16%)
CMYKcmyk(60%, 55%, 0%, 84.3%)
CIE-LABlab(6.29, 6.20, -15.20)
CIE-LCHlch(6.29, 16.42, 292.21°)
OKLaboklab(19.35% 0.0058 -0.0437)
OKLCHoklch(19.35% 0.044 277.5)
XYZxyz(0.8129, 0.6959, 2.0986)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101228 #282610
analogous
#101E28 #101228 #1A1028
triadic
#101228 #281012 #122810
tetradic
#101228 #28101E #282610 #10281A
square
#101228 #28101E #282610 #10281A
split-complementary
#101228 #281A10 #1E2810
monochromatic
#090A16 #090A16 #101228 #212654 #33397F

Accessibility & contrast

On white

18.43
#101228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #101228
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101228#FFFFFF#000000##FFFFFF
##1012281.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091529
Deuteranopia (green-blind)
#071328
Tritanopia (blue-blind)
#07171B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #101228;
/* rgb */ color: rgb(16, 18, 40);
/* oklch */ color: oklch(19.4% 0.044 277.5);
Tailwind
colors: {
  custom: {
    50: '#4f4f62',
    500: '#101228',
    950: '#000000',
  },
}
SCSS
$custom: #101228;
$custom-light: #4f4f62;
$custom-dark: #000000;
JSON
{
  "hex": "#101228",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 235,
    "s": 42.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19351,
    "c": 0.04412,
    "h": 277.5
  },
  "luminance": 0.00696
}

Semantic roles & 50–950 ramp

primary
#101228
secondary
#605C34
accent
#C855D3
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020205
muted
#787879

Preview Lab

Preview with #101228

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

Preview Lab → · Contrast checker → · Palette generator →

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