#102159#102159

#102159 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.103 H 266.5°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#102159
RGBrgb(16, 33, 89)
HSLhsl(226, 70%, 21%)
HSVhsv(226, 82%, 35%)
CMYKcmyk(82%, 62.9%, 0%, 65.1%)
CIE-LABlab(15.06, 16.02, -35.73)
CIE-LCHlch(15.06, 39.16, 294.15°)
OKLaboklab(27.37% -0.0063 -0.1032)
OKLCHoklch(27.37% 0.103 266.5)
XYZxyz(2.5601, 1.9189, 9.6847)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102159 #594810
analogous
#104559 #102159 #231059
triadic
#102159 #591021 #215910
tetradic
#102159 #591045 #594810 #105923
square
#102159 #591045 #594810 #105923
split-complementary
#102159 #592310 #455910
monochromatic
#050A1A #070E25 #102159 #19348D #2347C1

Accessibility & contrast

On white

15.18
#102159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#102159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102159
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102159#FFFFFF#000000##FFFFFF
##1021591.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#002358
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #102159;
/* rgb */ color: rgb(16, 33, 89);
/* oklch */ color: oklch(27.4% 0.103 266.5);
Tailwind
colors: {
  custom: {
    50: '#5b5b88',
    500: '#102159',
    950: '#000000',
  },
}
SCSS
$custom: #102159;
$custom-light: #5b5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#102159",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 226.027,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27371,
    "c": 0.10336,
    "h": 266.5
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#102159
secondary
#927C33
accent
#C33BEC
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #102159

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

Preview Lab → · Contrast checker → · Palette generator →

#102159 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva