#102F5D#102F5D

#102F5D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.090 H 258.5°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#102F5D
RGBrgb(16, 47, 93)
HSLhsl(216, 71%, 21%)
HSVhsv(216, 83%, 36%)
CMYKcmyk(82.8%, 49.5%, 0%, 63.5%)
CIE-LABlab(19.77, 7.34, -30.76)
CIE-LCHlch(19.77, 31.62, 283.42°)
OKLaboklab(31.06% -0.018 -0.0883)
OKLCHoklch(31.06% 0.09 258.5)
XYZxyz(3.2053, 2.9331, 10.7510)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102F5D #5D3E10
analogous
#10565D #102F5D #18105D
triadic
#102F5D #5D102F #2F5D10
tetradic
#102F5D #5D1056 #5D3E10 #105D18
square
#102F5D #5D1056 #5D3E10 #105D18
split-complementary
#102F5D #5D1810 #565D10
monochromatic
#040D1A #071529 #102F5D #194991 #2264C5

Accessibility & contrast

On white

13.23
#102F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#102F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102F5D
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102F5D#FFFFFF#000000##FFFFFF
##102F5D1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16345F
Deuteranopia (green-blind)
#052D5C
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #102f5d;
/* rgb */ color: rgb(16, 47, 93);
/* oklch */ color: oklch(31.1% 0.090 258.5);
Tailwind
colors: {
  custom: {
    50: '#5c678b',
    500: '#102f5d',
    950: '#000000',
  },
}
SCSS
$custom: #102f5d;
$custom-light: #5c678b;
$custom-dark: #000000;
JSON
{
  "hex": "#102f5d",
  "rgb": {
    "r": 16,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 215.844,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31062,
    "c": 0.09007,
    "h": 258.5
  },
  "luminance": 0.02934
}

Semantic roles & 50–950 ramp

primary
#102F5D
secondary
#966E33
accent
#A53AED
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #102F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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