#100840#100840

#100840 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.099 H 278.9°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#100840
RGBrgb(16, 8, 64)
HSLhsl(249, 78%, 14%)
HSVhsv(249, 88%, 25%)
CMYKcmyk(75%, 87.5%, 0%, 74.9%)
CIE-LABlab(5.91, 22.82, -33.42)
CIE-LCHlch(5.91, 40.47, 304.33°)
OKLaboklab(19.75% 0.0152 -0.0976)
OKLCHoklch(19.75% 0.099 278.9)
XYZxyz(1.2256, 0.6539, 4.9111)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100840 #384008
analogous
#081C40 #100840 #2C0840
triadic
#100840 #401008 #084010
tetradic
#100840 #40081C #384008 #08402C
square
#100840 #40081C #384008 #08402C
split-complementary
#100840 #402C08 #1C4008
monochromatic
#07031B #07031B #100840 #1E0F76 #2B16AD

Accessibility & contrast

On white

18.57
#100840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#100840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #100840
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100840#FFFFFF#000000##FFFFFF
##1008401.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001542
Deuteranopia (green-blind)
#00113F
Tritanopia (blue-blind)
#001824
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #100840;
/* rgb */ color: rgb(16, 8, 64);
/* oklch */ color: oklch(19.8% 0.099 278.9);
Tailwind
colors: {
  custom: {
    50: '#564975',
    500: '#100840',
    950: '#000000',
  },
}
SCSS
$custom: #100840;
$custom-light: #564975;
$custom-dark: #000000;
JSON
{
  "hex": "#100840",
  "rgb": {
    "r": 16,
    "g": 8,
    "b": 64
  },
  "hsl": {
    "h": 248.571,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.1975,
    "c": 0.09877,
    "h": 278.9
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#100840
secondary
#727E25
accent
#F434D9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #100840

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

Preview Lab → · Contrast checker → · Palette generator →

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