#102A56#102A56

#102A56 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.086 H 260.3°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#102A56
RGBrgb(16, 42, 86)
HSLhsl(218, 69%, 20%)
HSVhsv(218, 81%, 34%)
CMYKcmyk(81.4%, 51.2%, 0%, 66.3%)
CIE-LABlab(17.63, 7.98, -29.55)
CIE-LCHlch(17.63, 30.60, 285.11°)
OKLaboklab(29.25% -0.0146 -0.0848)
OKLCHoklch(29.25% 0.086 260.3)
XYZxyz(2.7208, 2.4377, 9.1294)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102A56 #563C10
analogous
#104D56 #102A56 #191056
triadic
#102A56 #56102A #2A5610
tetradic
#102A56 #56104D #563C10 #105619
square
#102A56 #56104D #563C10 #105619
split-complementary
#102A56 #561910 #4D5610
monochromatic
#050D1A #061122 #102A56 #1A438A #235CBD

Accessibility & contrast

On white

14.12
#102A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#102A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102A56
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102A56#FFFFFF#000000##FFFFFF
##102A561.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122F58
Deuteranopia (green-blind)
#022855
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #102a56;
/* rgb */ color: rgb(16, 42, 86);
/* oklch */ color: oklch(29.3% 0.086 260.3);
Tailwind
colors: {
  custom: {
    50: '#5a6386',
    500: '#102a56',
    950: '#000000',
  },
}
SCSS
$custom: #102a56;
$custom-light: #5a6386;
$custom-dark: #000000;
JSON
{
  "hex": "#102a56",
  "rgb": {
    "r": 16,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 217.714,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.2925,
    "c": 0.08604,
    "h": 260.3
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#102A56
secondary
#8F6D32
accent
#AA3CEB
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #102A56

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

Preview Lab → · Contrast checker → · Palette generator →

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