#102A52#102A52

#102A52 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 28.9% C 0.080 H 258.9°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#102A52
RGBrgb(16, 42, 82)
HSLhsl(216, 67%, 19%)
HSVhsv(216, 80%, 32%)
CMYKcmyk(80.5%, 48.8%, 0%, 67.8%)
CIE-LABlab(17.34, 6.24, -27.33)
CIE-LCHlch(17.34, 28.03, 282.85°)
OKLaboklab(28.93% -0.0154 -0.0783)
OKLCHoklch(28.93% 0.08 258.9)
XYZxyz(2.5641, 2.3750, 8.3043)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102A52 #523810
analogous
#104B52 #102A52 #171052
triadic
#102A52 #52102A #2A5210
tetradic
#102A52 #52104B #523810 #105217
square
#102A52 #52104B #523810 #105217
split-complementary
#102A52 #521710 #4B5210
monochromatic
#050D1A #06101F #102A52 #1A4485 #245EB8

Accessibility & contrast

On white

14.24
#102A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#102A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102A52
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102A52#FFFFFF#000000##FFFFFF
##102A521.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E54
Deuteranopia (green-blind)
#092851
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #102a52;
/* rgb */ color: rgb(16, 42, 82);
/* oklch */ color: oklch(28.9% 0.080 258.9);
Tailwind
colors: {
  custom: {
    50: '#596383',
    500: '#102a52',
    950: '#000000',
  },
}
SCSS
$custom: #102a52;
$custom-light: #596383;
$custom-dark: #000000;
JSON
{
  "hex": "#102a52",
  "rgb": {
    "r": 16,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 216.364,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28933,
    "c": 0.07976,
    "h": 258.9
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#102A52
secondary
#8C6832
accent
#A63EEA
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #102A52

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

Preview Lab → · Contrast checker → · Palette generator →

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