#101F51#101F51

#101F51 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.094 H 267.0°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#101F51
RGBrgb(16, 31, 81)
HSLhsl(226, 67%, 19%)
HSVhsv(226, 80%, 32%)
CMYKcmyk(80.2%, 61.7%, 0%, 68.2%)
CIE-LABlab(13.73, 14.08, -32.48)
CIE-LCHlch(13.73, 35.40, 293.44°)
OKLaboklab(26.16% -0.005 -0.0936)
OKLCHoklch(26.16% 0.094 267)
XYZxyz(2.1884, 1.6840, 7.9927)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101F51 #514210
analogous
#104051 #101F51 #221051
triadic
#101F51 #51101F #1F5110
tetradic
#101F51 #511040 #514210 #105122
square
#101F51 #511040 #514210 #105122
split-complementary
#101F51 #512210 #405110
monochromatic
#050A1A #060B1E #101F51 #1A3384 #2446B7

Accessibility & contrast

On white

15.71
#101F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#101F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101F51
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101F51#FFFFFF#000000##FFFFFF
##101F511.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002653
Deuteranopia (green-blind)
#002050
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #101f51;
/* rgb */ color: rgb(16, 31, 81);
/* oklch */ color: oklch(26.2% 0.094 267.0);
Tailwind
colors: {
  custom: {
    50: '#595a82',
    500: '#101f51',
    950: '#000000',
  },
}
SCSS
$custom: #101f51;
$custom-light: #595a82;
$custom-dark: #000000;
JSON
{
  "hex": "#101f51",
  "rgb": {
    "r": 16,
    "g": 31,
    "b": 81
  },
  "hsl": {
    "h": 226.154,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26156,
    "c": 0.09377,
    "h": 267
  },
  "luminance": 0.01684
}

Semantic roles & 50–950 ramp

primary
#101F51
secondary
#8B7632
accent
#C23EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #101F51

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

Preview Lab → · Contrast checker → · Palette generator →

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