#131F4A#131F4A

#131F4A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.082 H 268.4°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#131F4A
RGBrgb(19, 31, 74)
HSLhsl(227, 59%, 18%)
HSVhsv(227, 74%, 29%)
CMYKcmyk(74.3%, 58.1%, 0%, 71%)
CIE-LABlab(13.31, 11.58, -28.36)
CIE-LCHlch(13.31, 30.64, 292.21°)
OKLaboklab(25.69% -0.0023 -0.0815)
OKLCHoklch(25.69% 0.082 268.4)
XYZxyz(1.9942, 1.6126, 6.6834)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F4A #4A3E13
analogous
#133A4A #131F4A #22134A
triadic
#131F4A #4A131F #1F4A13
tetradic
#131F4A #4A133A #4A3E13 #134A22
square
#131F4A #4A133A #4A3E13 #134A22
split-complementary
#131F4A #4A2213 #3A4A13
monochromatic
#060A18 #060B19 #131F4A #20337B #2C48AB

Accessibility & contrast

On white

15.88
#131F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#131F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F4A
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F4A#FFFFFF#000000##FFFFFF
##131F4A1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05254C
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131f4a;
/* rgb */ color: rgb(19, 31, 74);
/* oklch */ color: oklch(25.7% 0.082 268.4);
Tailwind
colors: {
  custom: {
    50: '#585a7d',
    500: '#131f4a',
    950: '#000000',
  },
}
SCSS
$custom: #131f4a;
$custom-light: #585a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#131f4a",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 74
  },
  "hsl": {
    "h": 226.909,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25693,
    "c": 0.0815,
    "h": 268.4
  },
  "luminance": 0.01613
}

Semantic roles & 50–950 ramp

primary
#131F4A
secondary
#837236
accent
#C045E2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #131F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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