#101840#101840

#101840 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.077 H 270.7°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#101840
RGBrgb(16, 24, 64)
HSLhsl(230, 60%, 16%)
HSVhsv(230, 75%, 25%)
CMYKcmyk(75%, 62.5%, 0%, 74.9%)
CIE-LABlab(10.06, 12.13, -26.65)
CIE-LCHlch(10.06, 29.28, 294.47°)
OKLaboklab(22.93% 0.0009 -0.0766)
OKLCHoklch(22.93% 0.077 270.7)
XYZxyz(1.4654, 1.1335, 4.9910)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101840 #403810
analogous
#103040 #101840 #201040
triadic
#101840 #401018 #184010
tetradic
#101840 #401030 #403810 #104020
square
#101840 #401030 #403810 #104020
split-complementary
#101840 #402010 #304010
monochromatic
#060918 #060918 #101840 #1C2A71 #283DA2

Accessibility & contrast

On white

17.12
#101840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#101840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101840
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101840#FFFFFF#000000##FFFFFF
##1018401.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E41
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #101840;
/* rgb */ color: rgb(16, 24, 64);
/* oklch */ color: oklch(22.9% 0.077 270.7);
Tailwind
colors: {
  custom: {
    50: '#555475',
    500: '#101840',
    950: '#000000',
  },
}
SCSS
$custom: #101840;
$custom-light: #555475;
$custom-dark: #000000;
JSON
{
  "hex": "#101840",
  "rgb": {
    "r": 16,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 230,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22925,
    "c": 0.07662,
    "h": 270.7
  },
  "luminance": 0.01134
}

Semantic roles & 50–950 ramp

primary
#101840
secondary
#7A6E32
accent
#C945E3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #101840

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

Preview Lab → · Contrast checker → · Palette generator →

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