#131F5D#131F5D

#131F5D is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.111 H 269.1°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#131F5D
RGBrgb(19, 31, 93)
HSLhsl(230, 66%, 22%)
HSVhsv(230, 80%, 36%)
CMYKcmyk(79.6%, 66.7%, 0%, 63.5%)
CIE-LABlab(15.00, 19.58, -38.50)
CIE-LCHlch(15.00, 43.19, 296.95°)
OKLaboklab(27.49% -0.0017 -0.1112)
OKLCHoklch(27.49% 0.111 269.1)
XYZxyz(2.7336, 1.9084, 10.5781)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F5D #5D5113
analogous
#13445D #131F5D #2C135D
triadic
#131F5D #5D131F #1F5D13
tetradic
#131F5D #5D1344 #5D5113 #135D2C
square
#131F5D #5D1344 #5D5113 #135D2C
split-complementary
#131F5D #5D2C13 #445D13
monochromatic
#050819 #090E2A #131F5D #1D3090 #2841C3

Accessibility & contrast

On white

15.20
#131F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#131F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F5D
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F5D#FFFFFF#000000##FFFFFF
##131F5D1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131f5d;
/* rgb */ color: rgb(19, 31, 93);
/* oklch */ color: oklch(27.5% 0.111 269.1);
Tailwind
colors: {
  custom: {
    50: '#5e5a8c',
    500: '#131f5d',
    950: '#000000',
  },
}
SCSS
$custom: #131f5d;
$custom-light: #5e5a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#131f5d",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 230.27,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27488,
    "c": 0.11125,
    "h": 269.1
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#131F5D
secondary
#958637
accent
#CD3FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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