#131F60#131F60

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

Color values

HEX#131F60
RGBrgb(19, 31, 96)
HSLhsl(231, 67%, 23%)
HSVhsv(231, 80%, 38%)
CMYKcmyk(80.2%, 67.7%, 0%, 62.4%)
CIE-LABlab(15.29, 20.81, -40.02)
CIE-LCHlch(15.29, 45.11, 297.48°)
OKLaboklab(27.79% -0.0018 -0.1157)
OKLCHoklch(27.79% 0.116 269.1)
XYZxyz(2.8691, 1.9626, 11.2917)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F60 #605413
analogous
#134660 #131F60 #2D1360
triadic
#131F60 #60131F #1F6013
tetradic
#131F60 #601346 #605413 #13602D
square
#131F60 #601346 #605413 #13602D
split-complementary
#131F60 #602D13 #466013
monochromatic
#05081A #090F2D #131F60 #1D2F93 #2740C6

Accessibility & contrast

On white

15.08
#131F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131F60
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F60#FFFFFF#000000##FFFFFF
##131F601.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00235F
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #131f60;
/* rgb */ color: rgb(19, 31, 96);
/* oklch */ color: oklch(27.8% 0.116 269.1);
Tailwind
colors: {
  custom: {
    50: '#5f5a8e',
    500: '#131f60',
    950: '#000000',
  },
}
SCSS
$custom: #131f60;
$custom-light: #5f5a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#131f60",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 96
  },
  "hsl": {
    "h": 230.649,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27792,
    "c": 0.1157,
    "h": 269.1
  },
  "luminance": 0.01963
}

Semantic roles & 50–950 ramp

primary
#131F60
secondary
#988937
accent
#CF3EEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131F60

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

Preview Lab → · Contrast checker → · Palette generator →

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