#131237#131237

#131237 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.070 H 279.7°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#131237
RGBrgb(19, 18, 55)
HSLhsl(242, 51%, 14%)
HSVhsv(242, 67%, 22%)
CMYKcmyk(65.5%, 67.3%, 0%, 78.4%)
CIE-LABlab(7.65, 13.65, -24.10)
CIE-LCHlch(7.65, 27.69, 299.53°)
OKLaboklab(20.94% 0.0118 -0.0691)
OKLCHoklch(20.94% 0.07 279.7)
XYZxyz(1.1742, 0.8468, 3.7153)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131237 #363712
analogous
#122437 #131237 #261237
triadic
#131237 #371312 #123713
tetradic
#131237 #371224 #363712 #123726
square
#131237 #371224 #363712 #123726
split-complementary
#131237 #372612 #243712
monochromatic
#080817 #080817 #131237 #232165 #333093

Accessibility & contrast

On white

17.96
#131237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#131237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131237
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131237#FFFFFF#000000##FFFFFF
##1312371.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#001536
Tritanopia (blue-blind)
#031B22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #131237;
/* rgb */ color: rgb(19, 18, 55);
/* oklch */ color: oklch(20.9% 0.070 279.7);
Tailwind
colors: {
  custom: {
    50: '#554f6e',
    500: '#131237',
    950: '#000000',
  },
}
SCSS
$custom: #131237;
$custom-light: #554f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#131237",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 241.622,
    "s": 50.685,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20936,
    "c": 0.07011,
    "h": 279.7
  },
  "luminance": 0.00847
}

Semantic roles & 50–950 ramp

primary
#131237
secondary
#6E7035
accent
#DA4ED6
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #131237

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

Preview Lab → · Contrast checker → · Palette generator →

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