#131C62#131C62

#131C62 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.4% C 0.123 H 270.1°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#131C62
RGBrgb(19, 28, 98)
HSLhsl(233, 68%, 23%)
HSVhsv(233, 81%, 38%)
CMYKcmyk(80.6%, 71.4%, 0%, 61.6%)
CIE-LABlab(14.68, 23.77, -42.34)
CIE-LCHlch(14.68, 48.55, 299.31°)
OKLaboklab(27.41% 0.0001 -0.1225)
OKLCHoklch(27.41% 0.123 270.1)
XYZxyz(2.8877, 1.8505, 11.7579)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C62 #625913
analogous
#134362 #131C62 #321362
triadic
#131C62 #62131C #1C6213
tetradic
#131C62 #621343 #625913 #136232
square
#131C62 #621343 #625913 #136232
split-complementary
#131C62 #623213 #436213
monochromatic
#05071A #090D2F #131C62 #1D2B95 #2739C9

Accessibility & contrast

On white

15.33
#131C62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131C62
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C62#FFFFFF#000000##FFFFFF
##131C621.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131c62;
/* rgb */ color: rgb(19, 28, 98);
/* oklch */ color: oklch(27.4% 0.123 270.1);
Tailwind
colors: {
  custom: {
    50: '#60588f',
    500: '#131c62',
    950: '#000000',
  },
}
SCSS
$custom: #131c62;
$custom-light: #60588f;
$custom-dark: #000000;
JSON
{
  "hex": "#131c62",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 98
  },
  "hsl": {
    "h": 233.165,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27409,
    "c": 0.12251,
    "h": 270.1
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#131C62
secondary
#9A8F37
accent
#D73DEA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #131C62

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

Preview Lab → · Contrast checker → · Palette generator →

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