#131956#131956

#131956 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.109 H 271.7°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#131956
RGBrgb(19, 25, 86)
HSLhsl(235, 64%, 21%)
HSVhsv(235, 78%, 34%)
CMYKcmyk(77.9%, 70.9%, 0%, 66.3%)
CIE-LABlab(12.64, 21.06, -37.65)
CIE-LCHlch(12.64, 43.14, 299.23°)
OKLaboklab(25.54% 0.0032 -0.1088)
OKLCHoklch(25.54% 0.109 271.7)
XYZxyz(2.2953, 1.5054, 8.9719)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131956 #565013
analogous
#133A56 #131956 #2E1356
triadic
#131956 #561319 #195613
tetradic
#131956 #56133A #565013 #13562E
square
#131956 #56133A #565013 #13562E
split-complementary
#131956 #562E13 #3A5613
monochromatic
#060719 #080A24 #131956 #1E2888 #2936BA

Accessibility & contrast

On white

16.14
#131956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#131956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131956
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131956#FFFFFF#000000##FFFFFF
##1319561.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131956;
/* rgb */ color: rgb(19, 25, 86);
/* oklch */ color: oklch(25.5% 0.109 271.7);
Tailwind
colors: {
  custom: {
    50: '#5c5586',
    500: '#131956',
    950: '#000000',
  },
}
SCSS
$custom: #131956;
$custom-light: #5c5586;
$custom-dark: #000000;
JSON
{
  "hex": "#131956",
  "rgb": {
    "r": 19,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 234.627,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25543,
    "c": 0.10886,
    "h": 271.7
  },
  "luminance": 0.01506
}

Semantic roles & 50–950 ramp

primary
#131956
secondary
#8E8636
accent
#D841E7
background
#F5F5F8
surface
#E9E8EF
border
#C5C4CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131956

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

Preview Lab → · Contrast checker → · Palette generator →

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