#102B71#102B71

#102B71 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.125 H 264.3°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#102B71
RGBrgb(16, 43, 113)
HSLhsl(223, 75%, 25%)
HSVhsv(223, 86%, 44%)
CMYKcmyk(85.8%, 61.9%, 0%, 55.7%)
CIE-LABlab(20.16, 18.87, -43.17)
CIE-LCHlch(20.16, 47.11, 293.61°)
OKLaboklab(31.87% -0.0125 -0.1248)
OKLCHoklch(31.87% 0.125 264.3)
XYZxyz(4.0571, 3.0297, 15.9905)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102B71 #715610
analogous
#105B71 #102B71 #251071
triadic
#102B71 #71102B #2B7110
tetradic
#102B71 #71105B #715610 #107125
square
#102B71 #71105B #715610 #107125
split-complementary
#102B71 #712510 #5B7110
monochromatic
#040A1B #08173B #102B71 #183FA7 #1F54DC

Accessibility & contrast

On white

13.08
#102B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#102B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102B71
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102B71#FFFFFF#000000##FFFFFF
##102B711.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #102b71;
/* rgb */ color: rgb(16, 43, 113);
/* oklch */ color: oklch(31.9% 0.125 264.3);
Tailwind
colors: {
  custom: {
    50: '#62639a',
    500: '#102b71',
    950: '#000000',
  },
}
SCSS
$custom: #102b71;
$custom-light: #62639a;
$custom-dark: #000000;
JSON
{
  "hex": "#102b71",
  "rgb": {
    "r": 16,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 223.299,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31868,
    "c": 0.12545,
    "h": 264.3
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#102B71
secondary
#A98834
accent
#BE36F2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #102B71

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

Preview Lab → · Contrast checker → · Palette generator →

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