#131C61#131C61

#131C61 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.121 H 270.1°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#131C61
RGBrgb(19, 28, 97)
HSLhsl(233, 67%, 23%)
HSVhsv(233, 80%, 38%)
CMYKcmyk(80.4%, 71.1%, 0%, 62%)
CIE-LABlab(14.58, 23.36, -41.85)
CIE-LCHlch(14.58, 47.93, 299.18°)
OKLaboklab(27.3% 0.0002 -0.1211)
OKLCHoklch(27.3% 0.121 270.1)
XYZxyz(2.8407, 1.8317, 11.5108)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C61 #615813
analogous
#134361 #131C61 #311361
triadic
#131C61 #61131C #1C6113
tetradic
#131C61 #611343 #615813 #136131
square
#131C61 #611343 #615813 #136131
split-complementary
#131C61 #613113 #436113
monochromatic
#05071A #090D2E #131C61 #1D2B94 #273AC7

Accessibility & contrast

On white

15.37
#131C61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#131C61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C61
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C61#FFFFFF#000000##FFFFFF
##131C611.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#002160
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131c61;
/* rgb */ color: rgb(19, 28, 97);
/* oklch */ color: oklch(27.3% 0.121 270.1);
Tailwind
colors: {
  custom: {
    50: '#5f588f',
    500: '#131c61',
    950: '#000000',
  },
}
SCSS
$custom: #131c61;
$custom-light: #5f588f;
$custom-dark: #000000;
JSON
{
  "hex": "#131c61",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 97
  },
  "hsl": {
    "h": 233.077,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27301,
    "c": 0.12107,
    "h": 270.1
  },
  "luminance": 0.01832
}

Semantic roles & 50–950 ramp

primary
#131C61
secondary
#998E37
accent
#D63EEA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #131C61

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

Preview Lab → · Contrast checker → · Palette generator →

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