#131C5A#131C5A

#131C5A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.111 H 270.4°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#131C5A
RGBrgb(19, 28, 90)
HSLhsl(232, 65%, 21%)
HSVhsv(232, 79%, 35%)
CMYKcmyk(78.9%, 68.9%, 0%, 64.7%)
CIE-LABlab(13.87, 20.52, -38.34)
CIE-LCHlch(13.87, 43.49, 298.16°)
OKLaboklab(26.56% 0.0007 -0.1108)
OKLCHoklch(26.56% 0.111 270.4)
XYZxyz(2.5286, 1.7069, 9.8671)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C5A #5A5113
analogous
#13405A #131C5A #2E135A
triadic
#131C5A #5A131C #1C5A13
tetradic
#131C5A #5A1340 #5A5113 #135A2E
square
#131C5A #5A1340 #5A5113 #135A2E
split-complementary
#131C5A #5A2E13 #405A13
monochromatic
#050819 #080C27 #131C5A #1E2C8D #283BBF

Accessibility & contrast

On white

15.66
#131C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#131C5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C5A
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C5A#FFFFFF#000000##FFFFFF
##131C5A1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002059
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131c5a;
/* rgb */ color: rgb(19, 28, 90);
/* oklch */ color: oklch(26.6% 0.111 270.4);
Tailwind
colors: {
  custom: {
    50: '#5d5889',
    500: '#131c5a',
    950: '#000000',
  },
}
SCSS
$custom: #131c5a;
$custom-light: #5d5889;
$custom-dark: #000000;
JSON
{
  "hex": "#131c5a",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 90
  },
  "hsl": {
    "h": 232.394,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26563,
    "c": 0.11081,
    "h": 270.4
  },
  "luminance": 0.01707
}

Semantic roles & 50–950 ramp

primary
#131C5A
secondary
#928737
accent
#D340E8
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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