#101042#101042

#101042 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.092 H 275.4°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#101042
RGBrgb(16, 16, 66)
HSLhsl(240, 61%, 16%)
HSVhsv(240, 76%, 26%)
CMYKcmyk(75.8%, 75.8%, 0%, 74.1%)
CIE-LABlab(7.89, 19.04, -31.59)
CIE-LCHlch(7.89, 36.89, 301.08°)
OKLaboklab(21.39% 0.0086 -0.0912)
OKLCHoklch(21.39% 0.092 275.4)
XYZxyz(1.3820, 0.8740, 5.2491)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101042 #424210
analogous
#102942 #101042 #291042
triadic
#101042 #421010 #104210
tetradic
#101042 #421029 #424210 #104229
square
#101042 #421029 #424210 #104229
split-complementary
#101042 #422910 #294210
monochromatic
#060619 #060619 #101042 #1C1C73 #2828A5

Accessibility & contrast

On white

17.88
#101042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#101042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101042
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101042#FFFFFF#000000##FFFFFF
##1010421.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001541
Tritanopia (blue-blind)
#001D27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #101042;
/* rgb */ color: rgb(16, 16, 66);
/* oklch */ color: oklch(21.4% 0.092 275.4);
Tailwind
colors: {
  custom: {
    50: '#564e77',
    500: '#101042',
    950: '#000000',
  },
}
SCSS
$custom: #101042;
$custom-light: #564e77;
$custom-dark: #000000;
JSON
{
  "hex": "#101042",
  "rgb": {
    "r": 16,
    "g": 16,
    "b": 66
  },
  "hsl": {
    "h": 240,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21389,
    "c": 0.09161,
    "h": 275.4
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#101042
secondary
#7C7C32
accent
#E444E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #101042

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

Preview Lab → · Contrast checker → · Palette generator →

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