#131E5D#131E5D

#131E5D is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.113 H 269.5°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#131E5D
RGBrgb(19, 30, 93)
HSLhsl(231, 66%, 22%)
HSVhsv(231, 80%, 36%)
CMYKcmyk(79.6%, 67.7%, 0%, 63.5%)
CIE-LABlab(14.72, 20.30, -38.95)
CIE-LCHlch(14.72, 43.93, 297.53°)
OKLaboklab(27.28% -0.0009 -0.1126)
OKLCHoklch(27.28% 0.113 269.5)
XYZxyz(2.7079, 1.8570, 10.5695)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E5D #5D5213
analogous
#13435D #131E5D #2D135D
triadic
#131E5D #5D131E #1E5D13
tetradic
#131E5D #5D1343 #5D5213 #135D2D
square
#131E5D #5D1343 #5D5213 #135D2D
split-complementary
#131E5D #5D2D13 #435D13
monochromatic
#050819 #090E2A #131E5D #1D2E90 #283FC3

Accessibility & contrast

On white

15.31
#131E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#131E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131E5D
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E5D#FFFFFF#000000##FFFFFF
##131E5D1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131e5d;
/* rgb */ color: rgb(19, 30, 93);
/* oklch */ color: oklch(27.3% 0.113 269.5);
Tailwind
colors: {
  custom: {
    50: '#5e598c',
    500: '#131e5d',
    950: '#000000',
  },
}
SCSS
$custom: #131e5d;
$custom-light: #5e598c;
$custom-dark: #000000;
JSON
{
  "hex": "#131e5d",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 231.081,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2728,
    "c": 0.11259,
    "h": 269.5
  },
  "luminance": 0.01857
}

Semantic roles & 50–950 ramp

primary
#131E5D
secondary
#958737
accent
#D03FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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