#102A5F#102A5F

#102A5F is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.100 H 262.4°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#102A5F
RGBrgb(16, 42, 95)
HSLhsl(220, 71%, 22%)
HSVhsv(220, 83%, 37%)
CMYKcmyk(83.2%, 55.8%, 0%, 62.7%)
CIE-LABlab(18.33, 11.89, -34.41)
CIE-LCHlch(18.33, 36.41, 289.06°)
OKLaboklab(30% -0.0132 -0.0991)
OKLCHoklch(30% 0.1 262.4)
XYZxyz(3.1065, 2.5920, 11.1608)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102A5F #5F4510
analogous
#10525F #102A5F #1E105F
triadic
#102A5F #5F102A #2A5F10
tetradic
#102A5F #5F1052 #5F4510 #105F1E
square
#102A5F #5F1052 #5F4510 #105F1E
split-complementary
#102A5F #5F1E10 #525F10
monochromatic
#040C1A #07132B #102A5F #194193 #2258C8

Accessibility & contrast

On white

13.83
#102A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#102A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102A5F
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102A5F#FFFFFF#000000##FFFFFF
##102A5F1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063161
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #102a5f;
/* rgb */ color: rgb(16, 42, 95);
/* oklch */ color: oklch(30.0% 0.100 262.4);
Tailwind
colors: {
  custom: {
    50: '#5c638d',
    500: '#102a5f',
    950: '#000000',
  },
}
SCSS
$custom: #102a5f;
$custom-light: #5c638d;
$custom-dark: #000000;
JSON
{
  "hex": "#102a5f",
  "rgb": {
    "r": 16,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 220.253,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30004,
    "c": 0.09998,
    "h": 262.4
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#102A5F
secondary
#987733
accent
#B33AEE
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #102A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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