#101828#101828

#101828 is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.0% C 0.034 H 263.4°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#101828
RGBrgb(16, 24, 40)
HSLhsl(220, 43%, 11%)
HSVhsv(220, 60%, 16%)
CMYKcmyk(60%, 40%, 0%, 84.3%)
CIE-LABlab(8.28, 2.04, -12.08)
CIE-LCHlch(8.28, 12.25, 279.60°)
OKLaboklab(20.99% -0.0039 -0.0339)
OKLCHoklch(20.99% 0.034 263.4)
XYZxyz(0.9232, 0.9166, 2.1353)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101828 #282010
analogous
#102428 #101828 #141028
triadic
#101828 #281018 #182810
tetradic
#101828 #281024 #282010 #102814
square
#101828 #281024 #282010 #102814
split-complementary
#101828 #281410 #242810
monochromatic
#090D16 #090D16 #101828 #213254 #334C7F

Accessibility & contrast

On white

17.75
#101828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#101828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101828
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101828#FFFFFF#000000##FFFFFF
##1018281.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121929
Deuteranopia (green-blind)
#0F1728
Tritanopia (blue-blind)
#071B1E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #101828;
/* rgb */ color: rgb(16, 24, 40);
/* oklch */ color: oklch(21.0% 0.034 263.4);
Tailwind
colors: {
  custom: {
    50: '#505462',
    500: '#101828',
    950: '#000000',
  },
}
SCSS
$custom: #101828;
$custom-light: #505462;
$custom-dark: #000000;
JSON
{
  "hex": "#101828",
  "rgb": {
    "r": 16,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 220,
    "s": 42.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20991,
    "c": 0.03413,
    "h": 263.4
  },
  "luminance": 0.00917
}

Semantic roles & 50–950 ramp

primary
#101828
secondary
#605134
accent
#A955D3
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020205
muted
#787879

Preview Lab

Preview with #101828

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

Preview Lab → · Contrast checker → · Palette generator →

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