#131856#131856

#131856 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.110 H 272.1°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#131856
RGBrgb(19, 24, 86)
HSLhsl(236, 64%, 21%)
HSVhsv(236, 78%, 34%)
CMYKcmyk(77.9%, 72.1%, 0%, 66.3%)
CIE-LABlab(12.37, 21.78, -38.09)
CIE-LCHlch(12.37, 43.88, 299.76°)
OKLaboklab(25.35% 0.004 -0.1101)
OKLCHoklch(25.35% 0.11 272.1)
XYZxyz(2.2743, 1.4634, 8.9649)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131856 #565113
analogous
#133956 #131856 #2F1356
triadic
#131856 #561318 #185613
tetradic
#131856 #561339 #565113 #13562F
square
#131856 #561339 #565113 #13562F
split-complementary
#131856 #562F13 #395613
monochromatic
#060719 #080A24 #131856 #1E2688 #2934BA

Accessibility & contrast

On white

16.24
#131856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#131856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131856
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131856#FFFFFF#000000##FFFFFF
##1318561.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131856;
/* rgb */ color: rgb(19, 24, 86);
/* oklch */ color: oklch(25.3% 0.110 272.1);
Tailwind
colors: {
  custom: {
    50: '#5c5586',
    500: '#131856',
    950: '#000000',
  },
}
SCSS
$custom: #131856;
$custom-light: #5c5586;
$custom-dark: #000000;
JSON
{
  "hex": "#131856",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 235.522,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25347,
    "c": 0.11017,
    "h": 272.1
  },
  "luminance": 0.01464
}

Semantic roles & 50–950 ramp

primary
#131856
secondary
#8E8836
accent
#DA41E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #131856

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

Preview Lab → · Contrast checker → · Palette generator →

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