#131E5A#131E5A

#131E5A is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.108 H 269.6°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#131E5A
RGBrgb(19, 30, 90)
HSLhsl(231, 65%, 21%)
HSVhsv(231, 79%, 35%)
CMYKcmyk(78.9%, 66.7%, 0%, 64.7%)
CIE-LABlab(14.43, 19.07, -37.42)
CIE-LCHlch(14.43, 42.00, 297.00°)
OKLaboklab(26.98% -0.0008 -0.1081)
OKLCHoklch(26.98% 0.108 269.6)
XYZxyz(2.5777, 1.8049, 9.8834)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E5A #5A4F13
analogous
#13425A #131E5A #2C135A
triadic
#131E5A #5A131E #1E5A13
tetradic
#131E5A #5A1342 #5A4F13 #135A2C
square
#131E5A #5A1342 #5A4F13 #135A2C
split-complementary
#131E5A #5A2C13 #425A13
monochromatic
#050819 #080D27 #131E5A #1E2F8D #2840BF

Accessibility & contrast

On white

15.43
#131E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#131E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131E5A
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E5A#FFFFFF#000000##FFFFFF
##131E5A1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002159
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131e5a;
/* rgb */ color: rgb(19, 30, 90);
/* oklch */ color: oklch(27.0% 0.108 269.6);
Tailwind
colors: {
  custom: {
    50: '#5d5989',
    500: '#131e5a',
    950: '#000000',
  },
}
SCSS
$custom: #131e5a;
$custom-light: #5d5989;
$custom-dark: #000000;
JSON
{
  "hex": "#131e5a",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 90
  },
  "hsl": {
    "h": 230.704,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26977,
    "c": 0.1081,
    "h": 269.6
  },
  "luminance": 0.01805
}

Semantic roles & 50–950 ramp

primary
#131E5A
secondary
#928437
accent
#CE40E8
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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