#131F70#131F70

#131F70 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.5% C 0.139 H 268.8°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#131F70
RGBrgb(19, 31, 112)
HSLhsl(232, 71%, 26%)
HSVhsv(232, 83%, 44%)
CMYKcmyk(83%, 72.3%, 0%, 56.1%)
CIE-LABlab(16.93, 27.24, -47.82)
CIE-LCHlch(16.93, 55.03, 299.67°)
OKLaboklab(29.49% -0.0029 -0.1385)
OKLCHoklch(29.49% 0.139 268.8)
XYZxyz(3.6822, 2.2878, 15.5736)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F70 #706413
analogous
#134D70 #131F70 #351370
triadic
#131F70 #70131F #1F7013
tetradic
#131F70 #70134D #706413 #137035
square
#131F70 #70134D #706413 #137035
split-complementary
#131F70 #703513 #4D7013
monochromatic
#04071A #0A113C #131F70 #1C2DA4 #253CD9

Accessibility & contrast

On white

14.41
#131F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#131F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F70
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F70#FFFFFF#000000##FFFFFF
##131F701.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#00256F
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #131f70;
/* rgb */ color: rgb(19, 31, 112);
/* oklch */ color: oklch(29.5% 0.139 268.8);
Tailwind
colors: {
  custom: {
    50: '#635b9a',
    500: '#131f70',
    950: '#000000',
  },
}
SCSS
$custom: #131f70;
$custom-light: #635b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#131f70",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 232.258,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.2949,
    "c": 0.13852,
    "h": 268.8
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#131F70
secondary
#A79838
accent
#D73AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #131F70

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

Preview Lab → · Contrast checker → · Palette generator →

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