#131940#131940

#131940 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.074 H 272.7°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#131940
RGBrgb(19, 25, 64)
HSLhsl(232, 54%, 16%)
HSVhsv(232, 70%, 25%)
CMYKcmyk(70.3%, 60.9%, 0%, 74.9%)
CIE-LABlab(10.58, 11.97, -25.79)
CIE-LCHlch(10.58, 28.43, 294.90°)
OKLaboklab(23.38% 0.0036 -0.074)
OKLCHoklch(23.38% 0.074 272.7)
XYZxyz(1.5413, 1.2037, 5.0006)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131940 #403A13
analogous
#133040 #131940 #241340
triadic
#131940 #401319 #194013
tetradic
#131940 #401330 #403A13 #134024
square
#131940 #401330 #403A13 #134024
split-complementary
#131940 #402413 #304013
monochromatic
#070918 #070918 #131940 #212B6F #2F3E9E

Accessibility & contrast

On white

16.92
#131940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#131940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131940
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131940#FFFFFF#000000##FFFFFF
##1319401.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021F41
Deuteranopia (green-blind)
#001B3F
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131940;
/* rgb */ color: rgb(19, 25, 64);
/* oklch */ color: oklch(23.4% 0.074 272.7);
Tailwind
colors: {
  custom: {
    50: '#565575',
    500: '#131940',
    950: '#000000',
  },
}
SCSS
$custom: #131940;
$custom-light: #565575;
$custom-dark: #000000;
JSON
{
  "hex": "#131940",
  "rgb": {
    "r": 19,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 232,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23378,
    "c": 0.07407,
    "h": 272.7
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

primary
#131940
secondary
#797036
accent
#CA4ADE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030308
muted
#78787B

Preview Lab

Preview with #131940

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

Preview Lab → · Contrast checker → · Palette generator →

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