#131C40#131C40

#131C40 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.069 H 270.0°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#131C40
RGBrgb(19, 28, 64)
HSLhsl(228, 54%, 16%)
HSVhsv(228, 70%, 25%)
CMYKcmyk(70.3%, 56.2%, 0%, 74.9%)
CIE-LABlab(11.55, 9.65, -24.24)
CIE-LCHlch(11.55, 26.09, 291.71°)
OKLaboklab(24.1% 0 -0.0694)
OKLCHoklch(24.1% 0.069 270)
XYZxyz(1.6089, 1.3390, 5.0232)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C40 #403713
analogous
#133340 #131C40 #211340
triadic
#131C40 #40131C #1C4013
tetradic
#131C40 #401333 #403713 #134021
square
#131C40 #401333 #403713 #134021
split-complementary
#131C40 #402113 #334013
monochromatic
#070A18 #070A18 #131C40 #21316F #2F459E

Accessibility & contrast

On white

16.56
#131C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#131C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C40
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C40#FFFFFF#000000##FFFFFF
##131C401.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092141
Deuteranopia (green-blind)
#021D3F
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #131c40;
/* rgb */ color: rgb(19, 28, 64);
/* oklch */ color: oklch(24.1% 0.069 270.0);
Tailwind
colors: {
  custom: {
    50: '#565775',
    500: '#131c40',
    950: '#000000',
  },
}
SCSS
$custom: #131c40;
$custom-light: #565775;
$custom-dark: #000000;
JSON
{
  "hex": "#131c40",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 64
  },
  "hsl": {
    "h": 228,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24103,
    "c": 0.06938,
    "h": 270
  },
  "luminance": 0.01339
}

Semantic roles & 50–950 ramp

primary
#131C40
secondary
#796B36
accent
#C04ADE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #131C40

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

Preview Lab → · Contrast checker → · Palette generator →

#131C40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva