#131847#131847

#131847 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.087 H 273.2°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#131847
RGBrgb(19, 24, 71)
HSLhsl(234, 58%, 18%)
HSVhsv(234, 73%, 28%)
CMYKcmyk(73.2%, 66.2%, 0%, 72.2%)
CIE-LABlab(10.90, 15.65, -30.19)
CIE-LCHlch(10.90, 34.01, 297.39°)
OKLaboklab(23.81% 0.0049 -0.0869)
OKLCHoklch(23.81% 0.087 273.2)
XYZxyz(1.7321, 1.2465, 6.1093)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131847 #474213
analogous
#133247 #131847 #281347
triadic
#131847 #471318 #184713
tetradic
#131847 #471332 #474213 #134728
square
#131847 #471332 #474213 #134728
split-complementary
#131847 #472813 #324713
monochromatic
#060818 #060818 #131847 #202877 #2D39A8

Accessibility & contrast

On white

16.81
#131847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131847
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131847#FFFFFF#000000##FFFFFF
##1318471.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131847;
/* rgb */ color: rgb(19, 24, 71);
/* oklch */ color: oklch(23.8% 0.087 273.2);
Tailwind
colors: {
  custom: {
    50: '#58547b',
    500: '#131847',
    950: '#000000',
  },
}
SCSS
$custom: #131847;
$custom-light: #58547b;
$custom-dark: #000000;
JSON
{
  "hex": "#131847",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 234.231,
    "s": 57.778,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23805,
    "c": 0.08709,
    "h": 273.2
  },
  "luminance": 0.01247
}

Semantic roles & 50–950 ramp

primary
#131847
secondary
#807936
accent
#D247E1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #131847

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

Preview Lab → · Contrast checker → · Palette generator →

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