#101256#101256

#101256 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.118 H 271.9°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#101256
RGBrgb(16, 18, 86)
HSLhsl(238, 69%, 20%)
HSVhsv(238, 81%, 34%)
CMYKcmyk(81.4%, 79.1%, 0%, 66.3%)
CIE-LABlab(10.66, 25.58, -40.91)
CIE-LCHlch(10.66, 48.25, 302.01°)
OKLaboklab(24.06% 0.004 -0.1184)
OKLCHoklch(24.06% 0.118 271.9)
XYZxyz(2.1091, 1.2144, 8.9255)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101256 #565410
analogous
#103556 #101256 #311056
triadic
#101256 #561012 #125610
tetradic
#101256 #561035 #565410 #105631
square
#101256 #561035 #565410 #105631
split-complementary
#101256 #563110 #355610
monochromatic
#05051A #060722 #101256 #1A1D8A #2328BD

Accessibility & contrast

On white

16.89
#101256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#101256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101256
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101256#FFFFFF#000000##FFFFFF
##1012561.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001955
Tritanopia (blue-blind)
#002632
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #101256;
/* rgb */ color: rgb(16, 18, 86);
/* oklch */ color: oklch(24.1% 0.118 271.9);
Tailwind
colors: {
  custom: {
    50: '#5c5086',
    500: '#101256',
    950: '#000000',
  },
}
SCSS
$custom: #101256;
$custom-light: #5c5086;
$custom-dark: #000000;
JSON
{
  "hex": "#101256",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 238.286,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.24062,
    "c": 0.11848,
    "h": 271.9
  },
  "luminance": 0.01215
}

Semantic roles & 50–950 ramp

primary
#101256
secondary
#8F8D32
accent
#E63CEB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #101256

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

Preview Lab → · Contrast checker → · Palette generator →

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