#131256#131256

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

Color values

HEX#131256
RGBrgb(19, 18, 86)
HSLhsl(241, 65%, 20%)
HSVhsv(241, 79%, 34%)
CMYKcmyk(77.9%, 79.1%, 0%, 66.3%)
CIE-LABlab(10.87, 25.90, -40.56)
CIE-LCHlch(10.87, 48.13, 302.56°)
OKLaboklab(24.26% 0.008 -0.1173)
OKLCHoklch(24.26% 0.118 273.9)
XYZxyz(2.1640, 1.2427, 8.9281)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131256 #555612
analogous
#123356 #131256 #351256
triadic
#131256 #561312 #125613
tetradic
#131256 #561233 #555612 #125635
square
#131256 #561233 #555612 #125635
split-complementary
#131256 #563512 #335612
monochromatic
#060519 #080723 #131256 #1E1D89 #2927BB

Accessibility & contrast

On white

16.82
#131256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#131256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131256
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131256#FFFFFF#000000##FFFFFF
##1312561.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001A55
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131256;
/* rgb */ color: rgb(19, 18, 86);
/* oklch */ color: oklch(24.3% 0.118 273.9);
Tailwind
colors: {
  custom: {
    50: '#5d5086',
    500: '#131256',
    950: '#000000',
  },
}
SCSS
$custom: #131256;
$custom-light: #5d5086;
$custom-dark: #000000;
JSON
{
  "hex": "#131256",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 240.882,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24263,
    "c": 0.11759,
    "h": 273.9
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#131256
secondary
#8D8F35
accent
#E83FE6
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #131256

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

Preview Lab → · Contrast checker → · Palette generator →

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