#131D62#131D62

#131D62 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.6% C 0.121 H 269.7°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#131D62
RGBrgb(19, 29, 98)
HSLhsl(232, 68%, 23%)
HSVhsv(232, 81%, 38%)
CMYKcmyk(80.6%, 70.4%, 0%, 61.6%)
CIE-LABlab(14.95, 23.06, -41.91)
CIE-LCHlch(14.95, 47.83, 298.82°)
OKLaboklab(27.6% -0.0005 -0.1212)
OKLCHoklch(27.6% 0.121 269.7)
XYZxyz(2.9118, 1.8987, 11.7659)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D62 #625813
analogous
#134462 #131D62 #301362
triadic
#131D62 #62131D #1D6213
tetradic
#131D62 #621344 #625813 #136230
square
#131D62 #621344 #625813 #136230
split-complementary
#131D62 #623013 #446213
monochromatic
#05081A #090E2F #131D62 #1D2C95 #273BC9

Accessibility & contrast

On white

15.22
#131D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131D62
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D62#FFFFFF#000000##FFFFFF
##131D621.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002964
Deuteranopia (green-blind)
#002261
Tritanopia (blue-blind)
#002F3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #131d62;
/* rgb */ color: rgb(19, 29, 98);
/* oklch */ color: oklch(27.6% 0.121 269.7);
Tailwind
colors: {
  custom: {
    50: '#5f598f',
    500: '#131d62',
    950: '#000000',
  },
}
SCSS
$custom: #131d62;
$custom-light: #5f598f;
$custom-dark: #000000;
JSON
{
  "hex": "#131d62",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 98
  },
  "hsl": {
    "h": 232.405,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27601,
    "c": 0.12124,
    "h": 269.7
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#131D62
secondary
#9A8D37
accent
#D53DEA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #131D62

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

Preview Lab → · Contrast checker → · Palette generator →

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