#102A71#102A71

#102A71 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.7% C 0.127 H 264.6°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#102A71
RGBrgb(16, 42, 113)
HSLhsl(224, 75%, 25%)
HSVhsv(224, 86%, 44%)
CMYKcmyk(85.8%, 62.8%, 0%, 55.7%)
CIE-LABlab(19.87, 19.59, -43.64)
CIE-LCHlch(19.87, 47.84, 294.18°)
OKLaboklab(31.65% -0.0118 -0.1262)
OKLCHoklch(31.65% 0.127 264.6)
XYZxyz(4.0212, 2.9579, 15.9786)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102A71 #715710
analogous
#105A71 #102A71 #271071
triadic
#102A71 #71102A #2A7110
tetradic
#102A71 #71105A #715710 #107127
square
#102A71 #71105A #715710 #107127
split-complementary
#102A71 #712710 #5A7110
monochromatic
#040A1B #08163B #102A71 #183EA7 #1F52DC

Accessibility & contrast

On white

13.19
#102A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#102A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102A71
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102A71#FFFFFF#000000##FFFFFF
##102A711.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002C70
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #102a71;
/* rgb */ color: rgb(16, 42, 113);
/* oklch */ color: oklch(31.7% 0.127 264.6);
Tailwind
colors: {
  custom: {
    50: '#62639a',
    500: '#102a71',
    950: '#000000',
  },
}
SCSS
$custom: #102a71;
$custom-light: #62639a;
$custom-dark: #000000;
JSON
{
  "hex": "#102a71",
  "rgb": {
    "r": 16,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 223.918,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31652,
    "c": 0.12678,
    "h": 264.6
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#102A71
secondary
#A98934
accent
#BF36F2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #102A71

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

Preview Lab → · Contrast checker → · Palette generator →

#102A71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva