#10104D#10104D

#10104D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.108 H 273.6°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#10104D
RGBrgb(16, 16, 77)
HSLhsl(240, 66%, 18%)
HSVhsv(240, 79%, 30%)
CMYKcmyk(79.2%, 79.2%, 0%, 69.8%)
CIE-LABlab(9.13, 23.42, -37.27)
CIE-LCHlch(9.13, 44.02, 302.15°)
OKLaboklab(22.65% 0.0068 -0.1078)
OKLCHoklch(22.65% 0.108 273.6)
XYZxyz(1.7381, 1.0164, 7.1243)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10104D #4D4D10
analogous
#102E4D #10104D #2E104D
triadic
#10104D #4D1010 #104D10
tetradic
#10104D #4D102E #4D4D10 #104D2E
square
#10104D #4D102E #4D4D10 #104D2E
split-complementary
#10104D #4D2E10 #2E4D10
monochromatic
#050519 #05051A #10104D #1B1B80 #2525B2

Accessibility & contrast

On white

17.45
#10104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#10104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10104D
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10104D#FFFFFF#000000##FFFFFF
##10104D1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4F
Deuteranopia (green-blind)
#00174C
Tritanopia (blue-blind)
#00212D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #10104d;
/* rgb */ color: rgb(16, 16, 77);
/* oklch */ color: oklch(22.7% 0.108 273.6);
Tailwind
colors: {
  custom: {
    50: '#5a4e80',
    500: '#10104d',
    950: '#000000',
  },
}
SCSS
$custom: #10104d;
$custom-light: #5a4e80;
$custom-dark: #000000;
JSON
{
  "hex": "#10104d",
  "rgb": {
    "r": 16,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 240,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2265,
    "c": 0.108,
    "h": 273.6
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#10104D
secondary
#878732
accent
#E93FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #10104D

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

Preview Lab → · Contrast checker → · Palette generator →

#10104D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva