#102B8D#102B8D

#102B8D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.164 H 265.5°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#102B8D
RGBrgb(16, 43, 141)
HSLhsl(227, 80%, 31%)
HSVhsv(227, 89%, 55%)
CMYKcmyk(88.7%, 69.5%, 0%, 44.7%)
CIE-LABlab(22.86, 30.28, -56.45)
CIE-LCHlch(22.86, 64.06, 298.21°)
OKLaboklab(34.69% -0.0128 -0.1637)
OKLCHoklch(34.69% 0.164 265.5)
XYZxyz(5.8836, 3.7603, 25.6098)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102B8D #8D7210
analogous
#10698D #102B8D #33108D
triadic
#102B8D #8D102B #2B8D10
tetradic
#102B8D #8D1069 #8D7210 #108D33
square
#102B8D #8D1069 #8D7210 #108D33
split-complementary
#102B8D #8D3310 #698D10
monochromatic
#04091F #0A1A56 #102B8D #163CC4 #3058E7

Accessibility & contrast

On white

11.98
#102B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#102B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102B8D
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102B8D#FFFFFF#000000##FFFFFF
##102B8D1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #102b8d;
/* rgb */ color: rgb(16, 43, 141);
/* oklch */ color: oklch(34.7% 0.164 265.5);
Tailwind
colors: {
  custom: {
    50: '#6a64af',
    500: '#102b8d',
    950: '#000000',
  },
}
SCSS
$custom: #102b8d;
$custom-light: #6a64af;
$custom-dark: #000000;
JSON
{
  "hex": "#102b8d",
  "rgb": {
    "r": 16,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 227.04,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34689,
    "c": 0.16417,
    "h": 265.5
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#102B8D
secondary
#C2A437
accent
#CC32F6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080511
muted
#7B7A80

Preview Lab

Preview with #102B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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