#102456#102456

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

Color values

HEX#102456
RGBrgb(16, 36, 86)
HSLhsl(223, 69%, 20%)
HSVhsv(223, 81%, 34%)
CMYKcmyk(81.4%, 58.1%, 0%, 66.3%)
CIE-LABlab(15.71, 12.47, -32.65)
CIE-LCHlch(15.71, 34.95, 290.90°)
OKLaboklab(27.79% -0.009 -0.094)
OKLCHoklch(27.79% 0.094 264.5)
XYZxyz(2.5237, 2.0435, 9.0637)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102456 #564210
analogous
#104756 #102456 #1F1056
triadic
#102456 #561024 #245610
tetradic
#102456 #561047 #564210 #10561F
square
#102456 #561047 #564210 #10561F
split-complementary
#102456 #561F10 #475610
monochromatic
#050B1A #060E22 #102456 #1A3A8A #234FBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##102456#FFFFFF#000000##FFFFFF
##1024561.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)
#012B58
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#003039
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #102456;
/* rgb */ color: rgb(16, 36, 86);
/* oklch */ color: oklch(27.8% 0.094 264.5);
Tailwind
colors: {
  custom: {
    50: '#5a5e86',
    500: '#102456',
    950: '#000000',
  },
}
SCSS
$custom: #102456;
$custom-light: #5a5e86;
$custom-dark: #000000;
JSON
{
  "hex": "#102456",
  "rgb": {
    "r": 16,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 222.857,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.27785,
    "c": 0.09447,
    "h": 264.5
  },
  "luminance": 0.02044
}

Semantic roles & 50–950 ramp

primary
#102456
secondary
#8F7532
accent
#B93CEB
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #102456

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

Preview Lab → · Contrast checker → · Palette generator →

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