#131A40#131A40

#131A40 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.072 H 271.9°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#131A40
RGBrgb(19, 26, 64)
HSLhsl(231, 54%, 16%)
HSVhsv(231, 70%, 25%)
CMYKcmyk(70.3%, 59.4%, 0%, 74.9%)
CIE-LABlab(10.90, 11.19, -25.28)
CIE-LCHlch(10.90, 27.64, 293.89°)
OKLaboklab(23.62% 0.0024 -0.0725)
OKLCHoklch(23.62% 0.073 271.9)
XYZxyz(1.5631, 1.2473, 5.0079)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131A40 #403913
analogous
#133140 #131A40 #231340
triadic
#131A40 #40131A #1A4013
tetradic
#131A40 #401331 #403913 #134023
square
#131A40 #401331 #403913 #134023
split-complementary
#131A40 #402313 #314013
monochromatic
#070A18 #070A18 #131A40 #212D6F #2F409E

Accessibility & contrast

On white

16.81
#131A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#131A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##131A40#FFFFFF#000000##FFFFFF
##131A401.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)
#041F41
Deuteranopia (green-blind)
#001B3F
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #131a40;
/* rgb */ color: rgb(19, 26, 64);
/* oklch */ color: oklch(23.6% 0.072 271.9);
Tailwind
colors: {
  custom: {
    50: '#565675',
    500: '#131a40',
    950: '#000000',
  },
}
SCSS
$custom: #131a40;
$custom-light: #565675;
$custom-dark: #000000;
JSON
{
  "hex": "#131a40",
  "rgb": {
    "r": 19,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 230.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23616,
    "c": 0.0725,
    "h": 271.9
  },
  "luminance": 0.01247
}

Semantic roles & 50–950 ramp

primary
#131A40
secondary
#796E36
accent
#C74ADE
background
#F5F5F7
surface
#E9E8ED
border
#C5C4C8
text
#030308
muted
#78787B

Preview Lab

Preview with #131A40

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

Preview Lab → · Contrast checker → · Palette generator →

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