#131C5B#131C5B

#131C5B is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.7% C 0.112 H 270.3°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#131C5B
RGBrgb(19, 28, 91)
HSLhsl(233, 65%, 22%)
HSVhsv(233, 79%, 36%)
CMYKcmyk(79.1%, 69.2%, 0%, 64.3%)
CIE-LABlab(13.97, 20.94, -38.85)
CIE-LCHlch(13.97, 44.13, 298.32°)
OKLaboklab(26.67% 0.0006 -0.1123)
OKLCHoklch(26.67% 0.112 270.3)
XYZxyz(2.5715, 1.7240, 10.0927)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C5B #5B5213
analogous
#13405B #131C5B #2E135B
triadic
#131C5B #5B131C #1C5B13
tetradic
#131C5B #5B1340 #5B5213 #135B2E
square
#131C5B #5B1340 #5B5213 #135B2E
split-complementary
#131C5B #5B2E13 #405B13
monochromatic
#050819 #080C28 #131C5B #1E2C8E #283BC0

Accessibility & contrast

On white

15.62
#131C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131C5B
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C5B#FFFFFF#000000##FFFFFF
##131C5B1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00205A
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131c5b;
/* rgb */ color: rgb(19, 28, 91);
/* oklch */ color: oklch(26.7% 0.112 270.3);
Tailwind
colors: {
  custom: {
    50: '#5d588a',
    500: '#131c5b',
    950: '#000000',
  },
}
SCSS
$custom: #131c5b;
$custom-light: #5d588a;
$custom-dark: #000000;
JSON
{
  "hex": "#131c5b",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 91
  },
  "hsl": {
    "h": 232.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26667,
    "c": 0.1123,
    "h": 270.3
  },
  "luminance": 0.01724
}

Semantic roles & 50–950 ramp

primary
#131C5B
secondary
#938837
accent
#D33FE8
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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