#102D71#102D71

#102D71 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.3% C 0.123 H 263.5°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#102D71
RGBrgb(16, 45, 113)
HSLhsl(222, 75%, 25%)
HSVhsv(222, 86%, 44%)
CMYKcmyk(85.8%, 60.2%, 0%, 55.7%)
CIE-LABlab(20.75, 17.42, -42.22)
CIE-LCHlch(20.75, 45.67, 292.42°)
OKLaboklab(32.31% -0.0138 -0.122)
OKLCHoklch(32.31% 0.123 263.5)
XYZxyz(4.1316, 3.1787, 16.0154)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102D71 #715410
analogous
#105D71 #102D71 #231071
triadic
#102D71 #71102D #2D7110
tetradic
#102D71 #71105D #715410 #107123
square
#102D71 #71105D #715410 #107123
split-complementary
#102D71 #712310 #5D7110
monochromatic
#040B1B #08183B #102D71 #1842A7 #1F58DC

Accessibility & contrast

On white

12.84
#102D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#102D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102D71
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102D71#FFFFFF#000000##FFFFFF
##102D711.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #102d71;
/* rgb */ color: rgb(16, 45, 113);
/* oklch */ color: oklch(32.3% 0.123 263.5);
Tailwind
colors: {
  custom: {
    50: '#61659a',
    500: '#102d71',
    950: '#000000',
  },
}
SCSS
$custom: #102d71;
$custom-light: #61659a;
$custom-dark: #000000;
JSON
{
  "hex": "#102d71",
  "rgb": {
    "r": 16,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 222.062,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32305,
    "c": 0.12278,
    "h": 263.5
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#102D71
secondary
#A98634
accent
#BA36F2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #102D71

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

Preview Lab → · Contrast checker → · Palette generator →

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