#102871#102871

#102871 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.129 H 265.3°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#102871
RGBrgb(16, 40, 113)
HSLhsl(225, 75%, 25%)
HSVhsv(225, 86%, 44%)
CMYKcmyk(85.8%, 64.6%, 0%, 55.7%)
CIE-LABlab(19.31, 21.04, -44.57)
CIE-LCHlch(19.31, 49.29, 295.27°)
OKLaboklab(31.23% -0.0106 -0.129)
OKLCHoklch(31.23% 0.129 265.3)
XYZxyz(3.9521, 2.8195, 15.9555)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102871 #715910
analogous
#105871 #102871 #291071
triadic
#102871 #711028 #287110
tetradic
#102871 #711058 #715910 #107129
square
#102871 #711058 #715910 #107129
split-complementary
#102871 #712910 #587110
monochromatic
#04091B #08153B #102871 #183BA7 #1F4EDC

Accessibility & contrast

On white

13.43
#102871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#102871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102871
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102871#FFFFFF#000000##FFFFFF
##1028711.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #102871;
/* rgb */ color: rgb(16, 40, 113);
/* oklch */ color: oklch(31.2% 0.129 265.3);
Tailwind
colors: {
  custom: {
    50: '#62619b',
    500: '#102871',
    950: '#000000',
  },
}
SCSS
$custom: #102871;
$custom-light: #62619b;
$custom-dark: #000000;
JSON
{
  "hex": "#102871",
  "rgb": {
    "r": 16,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 225.155,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31229,
    "c": 0.12941,
    "h": 265.3
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#102871
secondary
#A98C34
accent
#C336F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #102871

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

Preview Lab → · Contrast checker → · Palette generator →

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