#102D5C#102D5C

#102D5C is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.091 H 259.7°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#102D5C
RGBrgb(16, 45, 92)
HSLhsl(217, 70%, 21%)
HSVhsv(217, 83%, 36%)
CMYKcmyk(82.6%, 51.1%, 0%, 63.9%)
CIE-LABlab(19.05, 8.37, -31.26)
CIE-LCHlch(19.05, 32.36, 284.99°)
OKLaboklab(30.48% -0.0163 -0.0898)
OKLCHoklch(30.48% 0.091 259.7)
XYZxyz(3.0831, 2.7593, 10.4932)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102D5C #5C3F10
analogous
#10535C #102D5C #19105C
triadic
#102D5C #5C102D #2D5C10
tetradic
#102D5C #5C1053 #5C3F10 #105C19
square
#102D5C #5C1053 #5C3F10 #105C19
split-complementary
#102D5C #5C1910 #535C10
monochromatic
#050D1A #071328 #102D5C #194690 #2260C4

Accessibility & contrast

On white

13.53
#102D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#102D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102D5C
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102D5C#FFFFFF#000000##FFFFFF
##102D5C1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13325E
Deuteranopia (green-blind)
#002B5B
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #102d5c;
/* rgb */ color: rgb(16, 45, 92);
/* oklch */ color: oklch(30.5% 0.091 259.7);
Tailwind
colors: {
  custom: {
    50: '#5b658a',
    500: '#102d5c',
    950: '#000000',
  },
}
SCSS
$custom: #102d5c;
$custom-light: #5b658a;
$custom-dark: #000000;
JSON
{
  "hex": "#102d5c",
  "rgb": {
    "r": 16,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 217.105,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30483,
    "c": 0.09124,
    "h": 259.7
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#102D5C
secondary
#957033
accent
#A93BED
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050C
muted
#797A7D

Preview Lab

Preview with #102D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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