#102971#102971

#102971 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.4% C 0.128 H 265.0°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#102971
RGBrgb(16, 41, 113)
HSLhsl(225, 75%, 25%)
HSVhsv(225, 86%, 44%)
CMYKcmyk(85.8%, 63.7%, 0%, 55.7%)
CIE-LABlab(19.59, 20.32, -44.11)
CIE-LCHlch(19.59, 48.56, 294.73°)
OKLaboklab(31.44% -0.0112 -0.1276)
OKLCHoklch(31.44% 0.128 265)
XYZxyz(3.9862, 2.8878, 15.9669)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102971 #715810
analogous
#105971 #102971 #271071
triadic
#102971 #711029 #297110
tetradic
#102971 #711059 #715810 #107127
square
#102971 #711059 #715810 #107127
split-complementary
#102971 #712710 #597110
monochromatic
#040A1B #08163B #102971 #183CA7 #1F50DC

Accessibility & contrast

On white

13.31
#102971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#102971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102971
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102971#FFFFFF#000000##FFFFFF
##1029711.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #102971;
/* rgb */ color: rgb(16, 41, 113);
/* oklch */ color: oklch(31.4% 0.128 265.0);
Tailwind
colors: {
  custom: {
    50: '#62629b',
    500: '#102971',
    950: '#000000',
  },
}
SCSS
$custom: #102971;
$custom-light: #62629b;
$custom-dark: #000000;
JSON
{
  "hex": "#102971",
  "rgb": {
    "r": 16,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 224.536,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31439,
    "c": 0.1281,
    "h": 265
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#102971
secondary
#A98B34
accent
#C136F2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #102971

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

Preview Lab → · Contrast checker → · Palette generator →

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