#131F61#131F61

#131F61 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.117 H 269.1°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#131F61
RGBrgb(19, 31, 97)
HSLhsl(231, 67%, 23%)
HSVhsv(231, 80%, 38%)
CMYKcmyk(80.4%, 68%, 0%, 62%)
CIE-LABlab(15.39, 21.22, -40.52)
CIE-LCHlch(15.39, 45.74, 297.64°)
OKLaboklab(27.89% -0.0018 -0.1172)
OKLCHoklch(27.89% 0.117 269.1)
XYZxyz(2.9155, 1.9812, 11.5357)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F61 #615513
analogous
#134661 #131F61 #2E1361
triadic
#131F61 #61131F #1F6113
tetradic
#131F61 #611346 #615513 #13612E
square
#131F61 #611346 #615513 #13612E
split-complementary
#131F61 #612E13 #466113
monochromatic
#05081A #090F2E #131F61 #1D2F94 #2740C7

Accessibility & contrast

On white

15.04
#131F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#131F61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F61
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F61#FFFFFF#000000##FFFFFF
##131F611.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002360
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #131f61;
/* rgb */ color: rgb(19, 31, 97);
/* oklch */ color: oklch(27.9% 0.117 269.1);
Tailwind
colors: {
  custom: {
    50: '#5f5a8f',
    500: '#131f61',
    950: '#000000',
  },
}
SCSS
$custom: #131f61;
$custom-light: #5f5a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#131f61",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 97
  },
  "hsl": {
    "h": 230.769,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27894,
    "c": 0.11718,
    "h": 269.1
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#131F61
secondary
#998A37
accent
#D03EEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131F61

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

Preview Lab → · Contrast checker → · Palette generator →

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