#131E5C#131E5C

#131E5C is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.2% C 0.111 H 269.5°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#131E5C
RGBrgb(19, 30, 92)
HSLhsl(231, 66%, 22%)
HSVhsv(231, 79%, 36%)
CMYKcmyk(79.3%, 67.4%, 0%, 63.9%)
CIE-LABlab(14.62, 19.89, -38.45)
CIE-LCHlch(14.62, 43.29, 297.36°)
OKLaboklab(27.18% -0.0009 -0.1111)
OKLCHoklch(27.18% 0.111 269.5)
XYZxyz(2.6639, 1.8394, 10.3378)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E5C #5C5113
analogous
#13435C #131E5C #2D135C
triadic
#131E5C #5C131E #1E5C13
tetradic
#131E5C #5C1343 #5C5113 #135C2D
square
#131E5C #5C1343 #5C5113 #135C2D
split-complementary
#131E5C #5C2D13 #435C13
monochromatic
#050819 #090D29 #131E5C #1D2F8F #283FC1

Accessibility & contrast

On white

15.35
#131E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131E5C
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E5C#FFFFFF#000000##FFFFFF
##131E5C1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00225B
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131e5c;
/* rgb */ color: rgb(19, 30, 92);
/* oklch */ color: oklch(27.2% 0.111 269.5);
Tailwind
colors: {
  custom: {
    50: '#5e598b',
    500: '#131e5c',
    950: '#000000',
  },
}
SCSS
$custom: #131e5c;
$custom-light: #5e598b;
$custom-dark: #000000;
JSON
{
  "hex": "#131e5c",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 92
  },
  "hsl": {
    "h": 230.959,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27179,
    "c": 0.1111,
    "h": 269.5
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#131E5C
secondary
#948637
accent
#CF3FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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