#102381#102381

#102381 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.158 H 266.8°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#102381
RGBrgb(16, 35, 129)
HSLhsl(230, 78%, 28%)
HSVhsv(230, 88%, 51%)
CMYKcmyk(87.6%, 72.9%, 0%, 49.4%)
CIE-LABlab(19.62, 30.95, -54.26)
CIE-LCHlch(19.62, 62.47, 299.70°)
OKLaboklab(31.96% -0.0089 -0.1573)
OKLCHoklch(31.96% 0.158 266.8)
XYZxyz(4.7758, 2.8966, 21.0720)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102381 #816E10
analogous
#105B81 #102381 #361081
triadic
#102381 #811023 #238110
tetradic
#102381 #81105B #816E10 #108136
square
#102381 #81105B #816E10 #108136
split-complementary
#102381 #813610 #5B8110
monochromatic
#03071B #09144B #102381 #1732B7 #2747E4

Accessibility & contrast

On white

13.30
#102381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #102381
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102381#FFFFFF#000000##FFFFFF
##1023811.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #102381;
/* rgb */ color: rgb(16, 35, 129);
/* oklch */ color: oklch(32.0% 0.158 266.8);
Tailwind
colors: {
  custom: {
    50: '#675ea7',
    500: '#102381',
    950: '#000000',
  },
}
SCSS
$custom: #102381;
$custom-light: #675ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#102381",
  "rgb": {
    "r": 16,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 229.912,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31956,
    "c": 0.15757,
    "h": 266.8
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#102381
secondary
#B7A136
accent
#D433F4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F

Preview Lab

Preview with #102381

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

Preview Lab → · Contrast checker → · Palette generator →

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