#10104F#10104F

#10104F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.9% C 0.111 H 273.3°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#10104F
RGBrgb(16, 16, 79)
HSLhsl(240, 66%, 19%)
HSVhsv(240, 80%, 31%)
CMYKcmyk(79.7%, 79.7%, 0%, 69%)
CIE-LABlab(9.36, 24.20, -38.26)
CIE-LCHlch(9.36, 45.27, 302.31°)
OKLaboklab(22.89% 0.0064 -0.1107)
OKLCHoklch(22.89% 0.111 273.3)
XYZxyz(1.8098, 1.0451, 7.5020)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10104F #4F4F10
analogous
#102F4F #10104F #2F104F
triadic
#10104F #4F1010 #104F10
tetradic
#10104F #4F102F #4F4F10 #104F2F
square
#10104F #4F102F #4F4F10 #104F2F
split-complementary
#10104F #4F2F10 #2F4F10
monochromatic
#050519 #06061C #10104F #1A1A82 #2525B5

Accessibility & contrast

On white

17.37
#10104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#10104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10104F
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10104F#FFFFFF#000000##FFFFFF
##10104F1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D51
Deuteranopia (green-blind)
#00174E
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #10104f;
/* rgb */ color: rgb(16, 16, 79);
/* oklch */ color: oklch(22.9% 0.111 273.3);
Tailwind
colors: {
  custom: {
    50: '#5a4f81',
    500: '#10104f',
    950: '#000000',
  },
}
SCSS
$custom: #10104f;
$custom-light: #5a4f81;
$custom-dark: #000000;
JSON
{
  "hex": "#10104f",
  "rgb": {
    "r": 16,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 240,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.22887,
    "c": 0.11089,
    "h": 273.3
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#10104F
secondary
#898932
accent
#E93FE9
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #10104F

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

Preview Lab → · Contrast checker → · Palette generator →

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