#102A51#102A51

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

Color values

HEX#102A51
RGBrgb(16, 42, 81)
HSLhsl(216, 67%, 19%)
HSVhsv(216, 80%, 32%)
CMYKcmyk(80.2%, 48.1%, 0%, 68.2%)
CIE-LABlab(17.27, 5.80, -26.77)
CIE-LCHlch(17.27, 27.39, 282.23°)
OKLaboklab(28.85% -0.0156 -0.0766)
OKLCHoklch(28.85% 0.078 258.5)
XYZxyz(2.5263, 2.3599, 8.1053)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102A51 #513710
analogous
#104B51 #102A51 #171051
triadic
#102A51 #51102A #2A5110
tetradic
#102A51 #51104B #513710 #105117
square
#102A51 #51104B #513710 #105117
split-complementary
#102A51 #511710 #4B5110
monochromatic
#050D1A #06101E #102A51 #1A4484 #245FB7

Accessibility & contrast

On white

14.27
#102A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#102A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102A51
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102A51#FFFFFF#000000##FFFFFF
##102A511.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172E52
Deuteranopia (green-blind)
#0A2850
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #102a51;
/* rgb */ color: rgb(16, 42, 81);
/* oklch */ color: oklch(28.9% 0.078 258.5);
Tailwind
colors: {
  custom: {
    50: '#596382',
    500: '#102a51',
    950: '#000000',
  },
}
SCSS
$custom: #102a51;
$custom-light: #596382;
$custom-dark: #000000;
JSON
{
  "hex": "#102a51",
  "rgb": {
    "r": 16,
    "g": 42,
    "b": 81
  },
  "hsl": {
    "h": 216,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28855,
    "c": 0.07819,
    "h": 258.5
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#102A51
secondary
#8B6732
accent
#A53EEA
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #102A51

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

Preview Lab → · Contrast checker → · Palette generator →

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