#102256#102256

#102256 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.097 H 265.7°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#102256
RGBrgb(16, 34, 86)
HSLhsl(225, 69%, 20%)
HSVhsv(225, 81%, 34%)
CMYKcmyk(81.4%, 60.5%, 0%, 66.3%)
CIE-LABlab(15.09, 13.98, -33.65)
CIE-LCHlch(15.09, 36.44, 292.55°)
OKLaboklab(27.32% -0.0072 -0.097)
OKLCHoklch(27.32% 0.097 265.7)
XYZxyz(2.4648, 1.9258, 9.0441)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102256 #564410
analogous
#104556 #102256 #211056
triadic
#102256 #561022 #225610
tetradic
#102256 #561045 #564410 #105621
square
#102256 #561045 #564410 #105621
split-complementary
#102256 #562110 #455610
monochromatic
#050A1A #060E22 #102256 #1A368A #234BBD

Accessibility & contrast

On white

15.16
#102256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#102256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102256
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102256#FFFFFF#000000##FFFFFF
##1022561.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#002355
Tritanopia (blue-blind)
#002F38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #102256;
/* rgb */ color: rgb(16, 34, 86);
/* oklch */ color: oklch(27.3% 0.097 265.7);
Tailwind
colors: {
  custom: {
    50: '#5a5c86',
    500: '#102256',
    950: '#000000',
  },
}
SCSS
$custom: #102256;
$custom-light: #5a5c86;
$custom-dark: #000000;
JSON
{
  "hex": "#102256",
  "rgb": {
    "r": 16,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 224.571,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.27316,
    "c": 0.09732,
    "h": 265.7
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#102256
secondary
#8F7832
accent
#BE3CEB
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #102256

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

Preview Lab → · Contrast checker → · Palette generator →

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