#131B40#131B40

#131B40 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.071 H 270.9°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#131B40
RGBrgb(19, 27, 64)
HSLhsl(229, 54%, 16%)
HSVhsv(229, 70%, 25%)
CMYKcmyk(70.3%, 57.8%, 0%, 74.9%)
CIE-LABlab(11.22, 10.42, -24.76)
CIE-LCHlch(11.22, 26.86, 292.83°)
OKLaboklab(23.86% 0.0012 -0.0709)
OKLCHoklch(23.86% 0.071 270.9)
XYZxyz(1.5856, 1.2923, 5.0154)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B40 #403813
analogous
#133240 #131B40 #221340
triadic
#131B40 #40131B #1B4013
tetradic
#131B40 #401332 #403813 #134022
square
#131B40 #401332 #403813 #134022
split-complementary
#131B40 #402213 #324013
monochromatic
#070A18 #070A18 #131B40 #212F6F #2F439E

Accessibility & contrast

On white

16.69
#131B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#131B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B40
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B40#FFFFFF#000000##FFFFFF
##131B401.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072041
Deuteranopia (green-blind)
#001C3F
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #131b40;
/* rgb */ color: rgb(19, 27, 64);
/* oklch */ color: oklch(23.9% 0.071 270.9);
Tailwind
colors: {
  custom: {
    50: '#565675',
    500: '#131b40',
    950: '#000000',
  },
}
SCSS
$custom: #131b40;
$custom-light: #565675;
$custom-dark: #000000;
JSON
{
  "hex": "#131b40",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 229.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23858,
    "c": 0.07093,
    "h": 270.9
  },
  "luminance": 0.01292
}

Semantic roles & 50–950 ramp

primary
#131B40
secondary
#796D36
accent
#C34ADE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #131B40

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

Preview Lab → · Contrast checker → · Palette generator →

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