#101F40#101F40

#101F40 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.7% C 0.066 H 263.8°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#101F40
RGBrgb(16, 31, 64)
HSLhsl(221, 60%, 16%)
HSVhsv(221, 75%, 25%)
CMYKcmyk(75%, 51.6%, 0%, 74.9%)
CIE-LABlab(12.35, 6.70, -22.95)
CIE-LCHlch(12.35, 23.91, 286.27°)
OKLaboklab(24.67% -0.0071 -0.0656)
OKLCHoklch(24.67% 0.066 263.8)
XYZxyz(1.6288, 1.4601, 5.0455)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101F40 #403110
analogous
#103740 #101F40 #191040
triadic
#101F40 #40101F #1F4010
tetradic
#101F40 #401037 #403110 #104019
square
#101F40 #401037 #403110 #104019
split-complementary
#101F40 #401910 #374010
monochromatic
#060C18 #060C18 #101F40 #1C3771 #284EA2

Accessibility & contrast

On white

16.25
#101F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#101F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101F40
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101F40#FFFFFF#000000##FFFFFF
##101F401.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2341
Deuteranopia (green-blind)
#071E3F
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #101f40;
/* rgb */ color: rgb(16, 31, 64);
/* oklch */ color: oklch(24.7% 0.066 263.8);
Tailwind
colors: {
  custom: {
    50: '#555a75',
    500: '#101f40',
    950: '#000000',
  },
}
SCSS
$custom: #101f40;
$custom-light: #555a75;
$custom-dark: #000000;
JSON
{
  "hex": "#101f40",
  "rgb": {
    "r": 16,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 221.25,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24669,
    "c": 0.066,
    "h": 263.8
  },
  "luminance": 0.0146
}

Semantic roles & 50–950 ramp

primary
#101F40
secondary
#7A6332
accent
#B245E3
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #101F40

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

Preview Lab → · Contrast checker → · Palette generator →

#101F40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva