#102A5B#102A5B

#102A5B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.094 H 261.6°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#102A5B
RGBrgb(16, 42, 91)
HSLhsl(219, 70%, 21%)
HSVhsv(219, 82%, 36%)
CMYKcmyk(82.4%, 53.8%, 0%, 64.3%)
CIE-LABlab(18.01, 10.15, -32.27)
CIE-LCHlch(18.01, 33.83, 287.46°)
OKLaboklab(29.66% -0.0137 -0.0928)
OKLCHoklch(29.66% 0.094 261.6)
XYZxyz(2.9293, 2.5211, 10.2277)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102A5B #5B4110
analogous
#104F5B #102A5B #1B105B
triadic
#102A5B #5B102A #2A5B10
tetradic
#102A5B #5B104F #5B4110 #105B1B
square
#102A5B #5B104F #5B4110 #105B1B
split-complementary
#102A5B #5B1B10 #4F5B10
monochromatic
#050C1A #071227 #102A5B #19428F #225AC3

Accessibility & contrast

On white

13.96
#102A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#102A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102A5B
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102A5B#FFFFFF#000000##FFFFFF
##102A5B1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #102a5b;
/* rgb */ color: rgb(16, 42, 91);
/* oklch */ color: oklch(29.7% 0.094 261.6);
Tailwind
colors: {
  custom: {
    50: '#5b638a',
    500: '#102a5b',
    950: '#000000',
  },
}
SCSS
$custom: #102a5b;
$custom-light: #5b638a;
$custom-dark: #000000;
JSON
{
  "hex": "#102a5b",
  "rgb": {
    "r": 16,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 219.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29662,
    "c": 0.09382,
    "h": 261.6
  },
  "luminance": 0.02521
}

Semantic roles & 50–950 ramp

primary
#102A5B
secondary
#947233
accent
#AF3BED
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #102A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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