#102A5C#102A5C

#102A5C is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.095 H 261.8°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#102A5C
RGBrgb(16, 42, 92)
HSLhsl(219, 70%, 21%)
HSVhsv(219, 83%, 36%)
CMYKcmyk(82.6%, 54.3%, 0%, 63.9%)
CIE-LABlab(18.09, 10.59, -32.81)
CIE-LCHlch(18.09, 34.47, 287.88°)
OKLaboklab(29.75% -0.0136 -0.0944)
OKLCHoklch(29.75% 0.095 261.8)
XYZxyz(2.9727, 2.5385, 10.4564)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102A5C #5C4210
analogous
#10505C #102A5C #1C105C
triadic
#102A5C #5C102A #2A5C10
tetradic
#102A5C #5C1050 #5C4210 #105C1C
square
#102A5C #5C1050 #5C4210 #105C1C
split-complementary
#102A5C #5C1C10 #505C10
monochromatic
#050C1A #071228 #102A5C #194290 #225AC4

Accessibility & contrast

On white

13.93
#102A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #102A5C
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102A5C#FFFFFF#000000##FFFFFF
##102A5C1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B305E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #102a5c;
/* rgb */ color: rgb(16, 42, 92);
/* oklch */ color: oklch(29.7% 0.095 261.8);
Tailwind
colors: {
  custom: {
    50: '#5c638a',
    500: '#102a5c',
    950: '#000000',
  },
}
SCSS
$custom: #102a5c;
$custom-light: #5c638a;
$custom-dark: #000000;
JSON
{
  "hex": "#102a5c",
  "rgb": {
    "r": 16,
    "g": 42,
    "b": 92
  },
  "hsl": {
    "h": 219.474,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29747,
    "c": 0.09537,
    "h": 261.8
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

primary
#102A5C
secondary
#957333
accent
#B03BED
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #102A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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