#101540#101540

#101540 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.081 H 272.8°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#101540
RGBrgb(16, 21, 64)
HSLhsl(234, 60%, 16%)
HSVhsv(234, 75%, 25%)
CMYKcmyk(75%, 67.2%, 0%, 74.9%)
CIE-LABlab(9.13, 14.46, -28.16)
CIE-LCHlch(9.13, 31.65, 297.18°)
OKLaboklab(22.23% 0.004 -0.0811)
OKLCHoklch(22.23% 0.081 272.8)
XYZxyz(1.4070, 1.0165, 4.9716)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101540 #403B10
analogous
#102D40 #101540 #231040
triadic
#101540 #401015 #154010
tetradic
#101540 #40102D #403B10 #104023
square
#101540 #40102D #403B10 #104023
split-complementary
#101540 #402310 #2D4010
monochromatic
#060818 #060818 #101540 #1C2571 #2835A2

Accessibility & contrast

On white

17.45
#101540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#101540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101540
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101540#FFFFFF#000000##FFFFFF
##1015401.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #101540;
/* rgb */ color: rgb(16, 21, 64);
/* oklch */ color: oklch(22.2% 0.081 272.8);
Tailwind
colors: {
  custom: {
    50: '#555275',
    500: '#101540',
    950: '#000000',
  },
}
SCSS
$custom: #101540;
$custom-light: #555275;
$custom-dark: #000000;
JSON
{
  "hex": "#101540",
  "rgb": {
    "r": 16,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 233.75,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22232,
    "c": 0.0812,
    "h": 272.8
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#101540
secondary
#7A7232
accent
#D345E3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #101540

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

Preview Lab → · Contrast checker → · Palette generator →

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