#131756#131756

#131756 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.2% C 0.111 H 272.4°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#131756
RGBrgb(19, 23, 86)
HSLhsl(236, 64%, 21%)
HSVhsv(236, 78%, 34%)
CMYKcmyk(77.9%, 73.3%, 0%, 66.3%)
CIE-LABlab(12.11, 22.49, -38.52)
CIE-LCHlch(12.11, 44.61, 300.28°)
OKLaboklab(25.16% 0.0047 -0.1114)
OKLCHoklch(25.16% 0.111 272.4)
XYZxyz(2.2541, 1.4229, 8.9581)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131756 #565213
analogous
#133856 #131756 #301356
triadic
#131756 #561317 #175613
tetradic
#131756 #561338 #565213 #135630
square
#131756 #561338 #565213 #135630
split-complementary
#131756 #563013 #385613
monochromatic
#060719 #080A24 #131756 #1E2488 #2932BA

Accessibility & contrast

On white

16.35
#131756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#131756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131756
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131756#FFFFFF#000000##FFFFFF
##1317561.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#001D55
Tritanopia (blue-blind)
#002834
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131756;
/* rgb */ color: rgb(19, 23, 86);
/* oklch */ color: oklch(25.2% 0.111 272.4);
Tailwind
colors: {
  custom: {
    50: '#5d5486',
    500: '#131756',
    950: '#000000',
  },
}
SCSS
$custom: #131756;
$custom-light: #5d5486;
$custom-dark: #000000;
JSON
{
  "hex": "#131756",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 86
  },
  "hsl": {
    "h": 236.418,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25155,
    "c": 0.11147,
    "h": 272.4
  },
  "luminance": 0.01423
}

Semantic roles & 50–950 ramp

primary
#131756
secondary
#8E8936
accent
#DD41E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #131756

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

Preview Lab → · Contrast checker → · Palette generator →

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