#131E40#131E40

#131E40 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.066 H 267.8°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#131E40
RGBrgb(19, 30, 64)
HSLhsl(225, 54%, 16%)
HSVhsv(225, 70%, 25%)
CMYKcmyk(70.3%, 53.1%, 0%, 74.9%)
CIE-LABlab(12.20, 8.11, -23.18)
CIE-LCHlch(12.20, 24.56, 289.28°)
OKLaboklab(24.6% -0.0025 -0.0662)
OKLCHoklch(24.6% 0.066 267.8)
XYZxyz(1.6579, 1.4370, 5.0395)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E40 #403513
analogous
#133540 #131E40 #1F1340
triadic
#131E40 #40131E #1E4013
tetradic
#131E40 #401335 #403513 #13401F
square
#131E40 #401335 #403513 #13401F
split-complementary
#131E40 #401F13 #354013
monochromatic
#070B18 #070B18 #131E40 #21346F #2F4A9E

Accessibility & contrast

On white

16.31
#131E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#131E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131E40
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E40#FFFFFF#000000##FFFFFF
##131E401.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2241
Deuteranopia (green-blind)
#061E3F
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131e40;
/* rgb */ color: rgb(19, 30, 64);
/* oklch */ color: oklch(24.6% 0.066 267.8);
Tailwind
colors: {
  custom: {
    50: '#565975',
    500: '#131e40',
    950: '#000000',
  },
}
SCSS
$custom: #131e40;
$custom-light: #565975;
$custom-dark: #000000;
JSON
{
  "hex": "#131e40",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 225.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24603,
    "c": 0.06629,
    "h": 267.8
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#131E40
secondary
#796836
accent
#BA4ADE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #131E40

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

Preview Lab → · Contrast checker → · Palette generator →

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