#102C5F#102C5F

#102C5F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.097 H 261.2°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#102C5F
RGBrgb(16, 44, 95)
HSLhsl(219, 71%, 22%)
HSVhsv(219, 83%, 37%)
CMYKcmyk(83.2%, 53.7%, 0%, 62.7%)
CIE-LABlab(18.96, 10.41, -33.39)
CIE-LCHlch(18.96, 34.98, 287.32°)
OKLaboklab(30.48% -0.0149 -0.0961)
OKLCHoklch(30.48% 0.097 261.2)
XYZxyz(3.1792, 2.7374, 11.1851)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102C5F #5F4310
analogous
#10545F #102C5F #1C105F
triadic
#102C5F #5F102C #2C5F10
tetradic
#102C5F #5F1054 #5F4310 #105F1C
square
#102C5F #5F1054 #5F4310 #105F1C
split-complementary
#102C5F #5F1C10 #545F10
monochromatic
#040C1A #07142B #102C5F #194493 #225DC8

Accessibility & contrast

On white

13.57
#102C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#102C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102C5F
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102C5F#FFFFFF#000000##FFFFFF
##102C5F1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3261
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #102c5f;
/* rgb */ color: rgb(16, 44, 95);
/* oklch */ color: oklch(30.5% 0.097 261.2);
Tailwind
colors: {
  custom: {
    50: '#5c648d',
    500: '#102c5f',
    950: '#000000',
  },
}
SCSS
$custom: #102c5f;
$custom-light: #5c648d;
$custom-dark: #000000;
JSON
{
  "hex": "#102c5f",
  "rgb": {
    "r": 16,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 218.734,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30484,
    "c": 0.09722,
    "h": 261.2
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#102C5F
secondary
#987433
accent
#AE3AEE
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #102C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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