#102F8D#102F8D

#102F8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.159 H 264.8°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#102F8D
RGBrgb(16, 47, 141)
HSLhsl(225, 80%, 31%)
HSVhsv(225, 89%, 55%)
CMYKcmyk(88.7%, 66.7%, 0%, 44.7%)
CIE-LABlab(23.89, 27.56, -54.77)
CIE-LCHlch(23.89, 61.31, 296.71°)
OKLaboklab(35.44% -0.0144 -0.1587)
OKLCHoklch(35.44% 0.159 264.8)
XYZxyz(6.0362, 4.0655, 25.6607)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102F8D #8D6E10
analogous
#106D8D #102F8D #2F108D
triadic
#102F8D #8D102F #2F8D10
tetradic
#102F8D #8D106D #8D6E10 #108D2F
square
#102F8D #8D106D #8D6E10 #108D2F
split-complementary
#102F8D #8D2F10 #6D8D10
monochromatic
#040A1F #0A1D56 #102F8D #1641C4 #305DE7

Accessibility & contrast

On white

11.58
#102F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#102F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102F8D
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102F8D#FFFFFF#000000##FFFFFF
##102F8D1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #102f8d;
/* rgb */ color: rgb(16, 47, 141);
/* oklch */ color: oklch(35.4% 0.159 264.8);
Tailwind
colors: {
  custom: {
    50: '#6967af',
    500: '#102f8d',
    950: '#000000',
  },
}
SCSS
$custom: #102f8d;
$custom-light: #6967af;
$custom-dark: #000000;
JSON
{
  "hex": "#102f8d",
  "rgb": {
    "r": 16,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 225.12,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3544,
    "c": 0.15939,
    "h": 264.8
  },
  "luminance": 0.04066
}

Semantic roles & 50–950 ramp

primary
#102F8D
secondary
#C29F37
accent
#C532F6
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #102F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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