#102C5B#102C5B

#102C5B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.091 H 260.2°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#102C5B
RGBrgb(16, 44, 91)
HSLhsl(218, 70%, 21%)
HSVhsv(218, 82%, 36%)
CMYKcmyk(82.4%, 51.6%, 0%, 64.3%)
CIE-LABlab(18.66, 8.67, -31.24)
CIE-LCHlch(18.66, 32.42, 285.52°)
OKLaboklab(30.15% -0.0156 -0.0897)
OKLCHoklch(30.15% 0.091 260.2)
XYZxyz(3.0020, 2.6665, 10.2520)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102C5B #5B3F10
analogous
#10515B #102C5B #19105B
triadic
#102C5B #5B102C #2C5B10
tetradic
#102C5B #5B1051 #5B3F10 #105B19
square
#102C5B #5B1051 #5B3F10 #105B19
split-complementary
#102C5B #5B1910 #515B10
monochromatic
#050D1A #071327 #102C5B #19458F #225EC3

Accessibility & contrast

On white

13.70
#102C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#102C5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102C5B
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102C5B#FFFFFF#000000##FFFFFF
##102C5B1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12315D
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #102c5b;
/* rgb */ color: rgb(16, 44, 91);
/* oklch */ color: oklch(30.2% 0.091 260.2);
Tailwind
colors: {
  custom: {
    50: '#5b648a',
    500: '#102c5b',
    950: '#000000',
  },
}
SCSS
$custom: #102c5b;
$custom-light: #5b648a;
$custom-dark: #000000;
JSON
{
  "hex": "#102c5b",
  "rgb": {
    "r": 16,
    "g": 44,
    "b": 91
  },
  "hsl": {
    "h": 217.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30154,
    "c": 0.09106,
    "h": 260.2
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#102C5B
secondary
#947033
accent
#AA3BED
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #102C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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