#131E62#131E62

#131E62 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.8% C 0.120 H 269.4°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#131E62
RGBrgb(19, 30, 98)
HSLhsl(232, 68%, 23%)
HSVhsv(232, 81%, 38%)
CMYKcmyk(80.6%, 69.4%, 0%, 61.6%)
CIE-LABlab(15.21, 22.35, -41.47)
CIE-LCHlch(15.21, 47.11, 298.32°)
OKLaboklab(27.8% -0.0012 -0.1199)
OKLCHoklch(27.8% 0.12 269.4)
XYZxyz(2.9367, 1.9485, 11.7742)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E62 #625713
analogous
#134562 #131E62 #301362
triadic
#131E62 #62131E #1E6213
tetradic
#131E62 #621345 #625713 #136230
square
#131E62 #621345 #625713 #136230
split-complementary
#131E62 #623013 #456213
monochromatic
#05081A #090E2F #131E62 #1D2E95 #273DC9

Accessibility & contrast

On white

15.11
#131E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#131E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131E62
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E62#FFFFFF#000000##FFFFFF
##131E621.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A64
Deuteranopia (green-blind)
#002261
Tritanopia (blue-blind)
#00303D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #131e62;
/* rgb */ color: rgb(19, 30, 98);
/* oklch */ color: oklch(27.8% 0.120 269.4);
Tailwind
colors: {
  custom: {
    50: '#5f598f',
    500: '#131e62',
    950: '#000000',
  },
}
SCSS
$custom: #131e62;
$custom-light: #5f598f;
$custom-dark: #000000;
JSON
{
  "hex": "#131e62",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 98
  },
  "hsl": {
    "h": 231.646,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27798,
    "c": 0.11996,
    "h": 269.4
  },
  "luminance": 0.01949
}

Semantic roles & 50–950 ramp

primary
#131E62
secondary
#9A8C37
accent
#D23DEA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #131E62

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

Preview Lab → · Contrast checker → · Palette generator →

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