#101040#101040

#101040 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.089 H 275.7°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#101040
RGBrgb(16, 16, 64)
HSLhsl(240, 60%, 16%)
HSVhsv(240, 75%, 25%)
CMYKcmyk(75%, 75%, 0%, 74.9%)
CIE-LABlab(7.69, 18.22, -30.51)
CIE-LCHlch(7.69, 35.54, 300.84°)
OKLaboklab(21.17% 0.0089 -0.0881)
OKLCHoklch(21.17% 0.089 275.7)
XYZxyz(1.3241, 0.8508, 4.9439)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101040 #404010
analogous
#102840 #101040 #281040
triadic
#101040 #401010 #104010
tetradic
#101040 #401028 #404010 #104028
square
#101040 #401028 #404010 #104028
split-complementary
#101040 #402810 #284010
monochromatic
#060618 #060618 #101040 #1C1C71 #2828A2

Accessibility & contrast

On white

17.95
#101040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #101040
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101040#FFFFFF#000000##FFFFFF
##1010401.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #101040;
/* rgb */ color: rgb(16, 16, 64);
/* oklch */ color: oklch(21.2% 0.089 275.7);
Tailwind
colors: {
  custom: {
    50: '#564e75',
    500: '#101040',
    950: '#000000',
  },
}
SCSS
$custom: #101040;
$custom-light: #564e75;
$custom-dark: #000000;
JSON
{
  "hex": "#101040",
  "rgb": {
    "r": 16,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 240,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21169,
    "c": 0.08851,
    "h": 275.7
  },
  "luminance": 0.00851
}

Semantic roles & 50–950 ramp

primary
#101040
secondary
#7A7A32
accent
#E345E3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #101040

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

Preview Lab → · Contrast checker → · Palette generator →

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