#102C8D#102C8D

#102C8D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.163 H 265.4°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#102C8D
RGBrgb(16, 44, 141)
HSLhsl(227, 80%, 31%)
HSVhsv(227, 89%, 55%)
CMYKcmyk(88.7%, 68.8%, 0%, 44.7%)
CIE-LABlab(23.11, 29.60, -56.04)
CIE-LCHlch(23.11, 63.38, 297.85°)
OKLaboklab(34.87% -0.0132 -0.1625)
OKLCHoklch(34.87% 0.163 265.4)
XYZxyz(5.9204, 3.8339, 25.6221)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102C8D #8D7110
analogous
#106A8D #102C8D #32108D
triadic
#102C8D #8D102C #2C8D10
tetradic
#102C8D #8D106A #8D7110 #108D32
square
#102C8D #8D106A #8D7110 #108D32
split-complementary
#102C8D #8D3210 #6A8D10
monochromatic
#040A1F #0A1B56 #102C8D #163DC4 #3059E7

Accessibility & contrast

On white

11.88
#102C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#102C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102C8D
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102C8D#FFFFFF#000000##FFFFFF
##102C8D1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #102c8d;
/* rgb */ color: rgb(16, 44, 141);
/* oklch */ color: oklch(34.9% 0.163 265.4);
Tailwind
colors: {
  custom: {
    50: '#6a65af',
    500: '#102c8d',
    950: '#000000',
  },
}
SCSS
$custom: #102c8d;
$custom-light: #6a65af;
$custom-dark: #000000;
JSON
{
  "hex": "#102c8d",
  "rgb": {
    "r": 16,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 226.56,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34873,
    "c": 0.16299,
    "h": 265.4
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#102C8D
secondary
#C2A337
accent
#CA32F6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080511
muted
#7B7A80

Preview Lab

Preview with #102C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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