#10102F#10102F

#10102F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.4% C 0.060 H 279.2°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#10102F
RGBrgb(16, 16, 47)
HSLhsl(240, 49%, 12%)
HSVhsv(240, 66%, 18%)
CMYKcmyk(66%, 66%, 0%, 81.6%)
CIE-LABlab(6.20, 10.57, -20.58)
CIE-LCHlch(6.20, 23.13, 297.20°)
OKLaboklab(19.45% 0.0097 -0.0596)
OKLCHoklch(19.45% 0.06 279.2)
XYZxyz(0.9119, 0.6859, 2.7731)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10102F #2F2F10
analogous
#10202F #10102F #20102F
triadic
#10102F #2F1010 #102F10
tetradic
#10102F #2F1020 #2F2F10 #102F20
square
#10102F #2F1020 #2F2F10 #102F20
split-complementary
#10102F #2F2010 #202F10
monochromatic
#080817 #080817 #10102F #20205D #2F2F8A

Accessibility & contrast

On white

18.47
#10102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#10102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10102F
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10102F#FFFFFF#000000##FFFFFF
##10102F1.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011530
Deuteranopia (green-blind)
#00132E
Tritanopia (blue-blind)
#03171D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #10102f;
/* rgb */ color: rgb(16, 16, 47);
/* oklch */ color: oklch(19.4% 0.060 279.2);
Tailwind
colors: {
  custom: {
    50: '#514e68',
    500: '#10102f',
    950: '#000000',
  },
}
SCSS
$custom: #10102f;
$custom-light: #514e68;
$custom-dark: #000000;
JSON
{
  "hex": "#10102f",
  "rgb": {
    "r": 16,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 240,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19449,
    "c": 0.06042,
    "h": 279.2
  },
  "luminance": 0.00686
}

Semantic roles & 50–950 ramp

primary
#10102F
secondary
#686833
accent
#D94FD9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #10102F

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

Preview Lab → · Contrast checker → · Palette generator →

#10102F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva