#100842#100842

#100842 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.102 H 278.3°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#100842
RGBrgb(16, 8, 66)
HSLhsl(248, 78%, 15%)
HSVhsv(248, 88%, 26%)
CMYKcmyk(75.8%, 87.9%, 0%, 74.1%)
CIE-LABlab(6.12, 23.74, -34.51)
CIE-LCHlch(6.12, 41.88, 304.53°)
OKLaboklab(20% 0.0146 -0.1005)
OKLCHoklch(20% 0.102 278.3)
XYZxyz(1.2836, 0.6771, 5.2162)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100842 #3A4208
analogous
#081D42 #100842 #2D0842
triadic
#100842 #421008 #084210
tetradic
#100842 #42081D #3A4208 #08422D
square
#100842 #42081D #3A4208 #08422D
split-complementary
#100842 #422D08 #1D4208
monochromatic
#07031B #07031B #100842 #1D0F79 #2A15AF

Accessibility & contrast

On white

18.50
#100842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#100842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #100842
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100842#FFFFFF#000000##FFFFFF
##1008421.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001644
Deuteranopia (green-blind)
#001141
Tritanopia (blue-blind)
#001925
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #100842;
/* rgb */ color: rgb(16, 8, 66);
/* oklch */ color: oklch(20.0% 0.102 278.3);
Tailwind
colors: {
  custom: {
    50: '#574977',
    500: '#100842',
    950: '#000000',
  },
}
SCSS
$custom: #100842;
$custom-light: #574977;
$custom-dark: #000000;
JSON
{
  "hex": "#100842",
  "rgb": {
    "r": 16,
    "g": 8,
    "b": 66
  },
  "hsl": {
    "h": 248.276,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20002,
    "c": 0.10159,
    "h": 278.3
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#100842
secondary
#748025
accent
#F533DA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #100842

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

Preview Lab → · Contrast checker → · Palette generator →

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