#102160#102160

#102160 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.114 H 266.9°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#102160
RGBrgb(16, 33, 96)
HSLhsl(227, 71%, 22%)
HSVhsv(227, 83%, 38%)
CMYKcmyk(83.3%, 65.6%, 0%, 62.4%)
CIE-LABlab(15.71, 19.00, -39.34)
CIE-LCHlch(15.71, 43.69, 295.78°)
OKLaboklab(28.06% -0.0061 -0.1138)
OKLCHoklch(28.06% 0.114 266.9)
XYZxyz(2.8681, 2.0421, 11.3071)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102160 #604F10
analogous
#104960 #102160 #271060
triadic
#102160 #601021 #216010
tetradic
#102160 #601049 #604F10 #106027
square
#102160 #601049 #604F10 #106027
split-complementary
#102160 #602710 #496010
monochromatic
#04091A #070F2C #102160 #193394 #2145C9

Accessibility & contrast

On white

14.91
#102160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#102160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102160
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102160#FFFFFF#000000##FFFFFF
##1021601.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#00245F
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #102160;
/* rgb */ color: rgb(16, 33, 96);
/* oklch */ color: oklch(28.1% 0.114 266.9);
Tailwind
colors: {
  custom: {
    50: '#5d5b8e',
    500: '#102160',
    950: '#000000',
  },
}
SCSS
$custom: #102160;
$custom-light: #5d5b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#102160",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 227.25,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28059,
    "c": 0.11393,
    "h": 266.9
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#102160
secondary
#998333
accent
#C83AEE
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #102160

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

Preview Lab → · Contrast checker → · Palette generator →

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