#102A54#102A54

#102A54 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.083 H 259.6°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#102A54
RGBrgb(16, 42, 84)
HSLhsl(217, 68%, 20%)
HSVhsv(217, 81%, 33%)
CMYKcmyk(81%, 50%, 0%, 67.1%)
CIE-LABlab(17.49, 7.10, -28.44)
CIE-LCHlch(17.49, 29.32, 284.03°)
OKLaboklab(29.09% -0.0149 -0.0815)
OKLCHoklch(29.09% 0.083 259.6)
XYZxyz(2.6413, 2.4059, 8.7110)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102A54 #543A10
analogous
#104C54 #102A54 #181054
triadic
#102A54 #54102A #2A5410
tetradic
#102A54 #54104C #543A10 #105418
square
#102A54 #54104C #543A10 #105418
split-complementary
#102A54 #541810 #4C5410
monochromatic
#050D1A #061021 #102A54 #1A4487 #245DBB

Accessibility & contrast

On white

14.18
#102A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #102A54
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102A54#FFFFFF#000000##FFFFFF
##102A541.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142E56
Deuteranopia (green-blind)
#052853
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #102a54;
/* rgb */ color: rgb(16, 42, 84);
/* oklch */ color: oklch(29.1% 0.083 259.6);
Tailwind
colors: {
  custom: {
    50: '#596384',
    500: '#102a54',
    950: '#000000',
  },
}
SCSS
$custom: #102a54;
$custom-light: #596384;
$custom-dark: #000000;
JSON
{
  "hex": "#102a54",
  "rgb": {
    "r": 16,
    "g": 42,
    "b": 84
  },
  "hsl": {
    "h": 217.059,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2909,
    "c": 0.0829,
    "h": 259.6
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#102A54
secondary
#8E6B32
accent
#A83DEB
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #102A54

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

Preview Lab → · Contrast checker → · Palette generator →

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