#131F76#131F76

#131F76 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.147 H 268.6°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#131F76
RGBrgb(19, 31, 118)
HSLhsl(233, 72%, 27%)
HSVhsv(233, 84%, 46%)
CMYKcmyk(83.9%, 73.7%, 0%, 53.7%)
CIE-LABlab(17.58, 29.57, -50.62)
CIE-LCHlch(17.58, 58.62, 300.29°)
OKLaboklab(30.15% -0.0036 -0.1467)
OKLCHoklch(30.15% 0.147 268.6)
XYZxyz(4.0274, 2.4260, 17.3920)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F76 #766A13
analogous
#135176 #131F76 #391376
triadic
#131F76 #76131F #1F7613
tetradic
#131F76 #761351 #766A13 #137639
square
#131F76 #761351 #766A13 #137639
split-complementary
#131F76 #763913 #517613
monochromatic
#04071A #0B1141 #131F76 #1B2DAB #273DDC

Accessibility & contrast

On white

14.14
#131F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#131F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F76
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F76#FFFFFF#000000##FFFFFF
##131F761.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #131f76;
/* rgb */ color: rgb(19, 31, 118);
/* oklch */ color: oklch(30.2% 0.147 268.6);
Tailwind
colors: {
  custom: {
    50: '#655b9e',
    500: '#131f76',
    950: '#000000',
  },
}
SCSS
$custom: #131f76;
$custom-light: #655b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#131f76",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 232.727,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30155,
    "c": 0.1467,
    "h": 268.6
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#131F76
secondary
#AC9E39
accent
#D939EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #131F76

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

Preview Lab → · Contrast checker → · Palette generator →

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