#101940#101940

#101940 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.2% C 0.075 H 269.8°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#101940
RGBrgb(16, 25, 64)
HSLhsl(229, 60%, 16%)
HSVhsv(229, 75%, 25%)
CMYKcmyk(75%, 60.9%, 0%, 74.9%)
CIE-LABlab(10.37, 11.35, -26.14)
CIE-LCHlch(10.37, 28.50, 293.48°)
OKLaboklab(23.16% -0.0002 -0.0751)
OKLCHoklch(23.16% 0.075 269.8)
XYZxyz(1.4864, 1.1754, 4.9980)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101940 #403710
analogous
#103140 #101940 #1F1040
triadic
#101940 #401019 #194010
tetradic
#101940 #401031 #403710 #10401F
square
#101940 #401031 #403710 #10401F
split-complementary
#101940 #401F10 #314010
monochromatic
#060A18 #060A18 #101940 #1C2C71 #283FA2

Accessibility & contrast

On white

17.00
#101940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#101940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101940
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101940#FFFFFF#000000##FFFFFF
##1019401.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #101940;
/* rgb */ color: rgb(16, 25, 64);
/* oklch */ color: oklch(23.2% 0.075 269.8);
Tailwind
colors: {
  custom: {
    50: '#555575',
    500: '#101940',
    950: '#000000',
  },
}
SCSS
$custom: #101940;
$custom-light: #555575;
$custom-dark: #000000;
JSON
{
  "hex": "#101940",
  "rgb": {
    "r": 16,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 228.75,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23164,
    "c": 0.07509,
    "h": 269.8
  },
  "luminance": 0.01176
}

Semantic roles & 50–950 ramp

primary
#101940
secondary
#7A6C32
accent
#C545E3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030308
muted
#78787B

Preview Lab

Preview with #101940

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

Preview Lab → · Contrast checker → · Palette generator →

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