#102056#102056

#102056 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.100 H 266.8°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#102056
RGBrgb(16, 32, 86)
HSLhsl(226, 69%, 20%)
HSVhsv(226, 81%, 34%)
CMYKcmyk(81.4%, 62.8%, 0%, 66.3%)
CIE-LABlab(14.48, 15.48, -34.65)
CIE-LCHlch(14.48, 37.95, 294.08°)
OKLaboklab(26.86% -0.0056 -0.1)
OKLCHoklch(26.86% 0.1 266.8)
XYZxyz(2.4093, 1.8148, 9.0256)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102056 #564610
analogous
#104356 #102056 #231056
triadic
#102056 #561020 #205610
tetradic
#102056 #561043 #564610 #105623
square
#102056 #561043 #564610 #105623
split-complementary
#102056 #562310 #435610
monochromatic
#050A1A #060D22 #102056 #1A338A #2346BD

Accessibility & contrast

On white

15.41
#102056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#102056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102056
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102056#FFFFFF#000000##FFFFFF
##1020561.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#002155
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #102056;
/* rgb */ color: rgb(16, 32, 86);
/* oklch */ color: oklch(26.9% 0.100 266.8);
Tailwind
colors: {
  custom: {
    50: '#5b5b86',
    500: '#102056',
    950: '#000000',
  },
}
SCSS
$custom: #102056;
$custom-light: #5b5b86;
$custom-dark: #000000;
JSON
{
  "hex": "#102056",
  "rgb": {
    "r": 16,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 226.286,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.26859,
    "c": 0.10015,
    "h": 266.8
  },
  "luminance": 0.01815
}

Semantic roles & 50–950 ramp

primary
#102056
secondary
#8F7A32
accent
#C33CEB
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #102056

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

Preview Lab → · Contrast checker → · Palette generator →

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