#102156#102156

#102156 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.099 H 266.3°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#102156
RGBrgb(16, 33, 86)
HSLhsl(225, 69%, 20%)
HSVhsv(225, 81%, 34%)
CMYKcmyk(81.4%, 61.6%, 0%, 66.3%)
CIE-LABlab(14.79, 14.73, -34.15)
CIE-LCHlch(14.79, 37.19, 293.33°)
OKLaboklab(27.09% -0.0064 -0.0985)
OKLCHoklch(27.09% 0.099 266.3)
XYZxyz(2.4367, 1.8695, 9.0347)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102156 #564510
analogous
#104456 #102156 #221056
triadic
#102156 #561021 #215610
tetradic
#102156 #561044 #564510 #105622
square
#102156 #561044 #564510 #105622
split-complementary
#102156 #562210 #445610
monochromatic
#050A1A #060D22 #102156 #1A358A #2349BD

Accessibility & contrast

On white

15.28
#102156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#102156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102156
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102156#FFFFFF#000000##FFFFFF
##1021561.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#002255
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #102156;
/* rgb */ color: rgb(16, 33, 86);
/* oklch */ color: oklch(27.1% 0.099 266.3);
Tailwind
colors: {
  custom: {
    50: '#5a5b86',
    500: '#102156',
    950: '#000000',
  },
}
SCSS
$custom: #102156;
$custom-light: #5a5b86;
$custom-dark: #000000;
JSON
{
  "hex": "#102156",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 225.429,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.27086,
    "c": 0.09874,
    "h": 266.3
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#102156
secondary
#8F7932
accent
#C13CEB
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #102156

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

Preview Lab → · Contrast checker → · Palette generator →

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