#102A5E#102A5E

#102A5E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.098 H 262.2°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#102A5E
RGBrgb(16, 42, 94)
HSLhsl(220, 71%, 22%)
HSVhsv(220, 83%, 37%)
CMYKcmyk(83%, 55.3%, 0%, 63.1%)
CIE-LABlab(18.25, 11.46, -33.88)
CIE-LCHlch(18.25, 35.76, 288.68°)
OKLaboklab(29.92% -0.0133 -0.0975)
OKLCHoklch(29.92% 0.098 262.2)
XYZxyz(3.0613, 2.5739, 10.9230)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102A5E #5E4410
analogous
#10515E #102A5E #1D105E
triadic
#102A5E #5E102A #2A5E10
tetradic
#102A5E #5E1051 #5E4410 #105E1D
square
#102A5E #5E1051 #5E4410 #105E1D
split-complementary
#102A5E #5E1D10 #515E10
monochromatic
#040C1A #07132A #102A5E #194192 #2259C7

Accessibility & contrast

On white

13.86
#102A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#102A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102A5E
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102A5E#FFFFFF#000000##FFFFFF
##102A5E1.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073060
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #102a5e;
/* rgb */ color: rgb(16, 42, 94);
/* oklch */ color: oklch(29.9% 0.098 262.2);
Tailwind
colors: {
  custom: {
    50: '#5c638c',
    500: '#102a5e',
    950: '#000000',
  },
}
SCSS
$custom: #102a5e;
$custom-light: #5c638c;
$custom-dark: #000000;
JSON
{
  "hex": "#102a5e",
  "rgb": {
    "r": 16,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 220,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29917,
    "c": 0.09845,
    "h": 262.2
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#102A5E
secondary
#977633
accent
#B23AEE
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #102A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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