#131F62#131F62

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

Color values

HEX#131F62
RGBrgb(19, 31, 98)
HSLhsl(231, 68%, 23%)
HSVhsv(231, 81%, 38%)
CMYKcmyk(80.6%, 68.4%, 0%, 61.6%)
CIE-LABlab(15.49, 21.63, -41.02)
CIE-LCHlch(15.49, 46.37, 297.81°)
OKLaboklab(28% -0.0019 -0.1186)
OKLCHoklch(28% 0.119 269.1)
XYZxyz(2.9624, 1.9999, 11.7828)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F62 #625613
analogous
#134662 #131F62 #2E1362
triadic
#131F62 #62131F #1F6213
tetradic
#131F62 #621346 #625613 #13622E
square
#131F62 #621346 #625613 #13622E
split-complementary
#131F62 #622E13 #466213
monochromatic
#05081A #090F2F #131F62 #1D2F95 #273FC9

Accessibility & contrast

On white

15.00
#131F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131F62
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F62#FFFFFF#000000##FFFFFF
##131F621.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A64
Deuteranopia (green-blind)
#002361
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #131f62;
/* rgb */ color: rgb(19, 31, 98);
/* oklch */ color: oklch(28.0% 0.119 269.1);
Tailwind
colors: {
  custom: {
    50: '#5f5a8f',
    500: '#131f62',
    950: '#000000',
  },
}
SCSS
$custom: #131f62;
$custom-light: #5f5a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#131f62",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 230.886,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27997,
    "c": 0.11864,
    "h": 269.1
  },
  "luminance": 0.02
}

Semantic roles & 50–950 ramp

primary
#131F62
secondary
#9A8B37
accent
#D03DEA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #131F62

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

Preview Lab → · Contrast checker → · Palette generator →

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