#131B72#131B72

#131B72 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.146 H 269.5°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#131B72
RGBrgb(19, 27, 114)
HSLhsl(235, 71%, 26%)
HSVhsv(235, 83%, 45%)
CMYKcmyk(83.3%, 76.3%, 0%, 55.3%)
CIE-LABlab(16.19, 30.66, -50.33)
CIE-LCHlch(16.19, 58.94, 301.35°)
OKLaboklab(29.02% -0.0013 -0.1458)
OKLCHoklch(29.02% 0.146 269.5)
XYZxyz(3.6967, 2.1368, 16.1339)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B72 #726A13
analogous
#134A72 #131B72 #3A1372
triadic
#131B72 #72131B #1B7213
tetradic
#131B72 #72134A #726A13 #13723A
square
#131B72 #72134A #726A13 #13723A
split-complementary
#131B72 #723A13 #4A7213
monochromatic
#04061A #0A0F3E #131B72 #1C27A6 #2534DB

Accessibility & contrast

On white

14.71
#131B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#131B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B72
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B72#FFFFFF#000000##FFFFFF
##131B721.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002370
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #131b72;
/* rgb */ color: rgb(19, 27, 114);
/* oklch */ color: oklch(29.0% 0.146 269.5);
Tailwind
colors: {
  custom: {
    50: '#64589c',
    500: '#131b72',
    950: '#000000',
  },
}
SCSS
$custom: #131b72;
$custom-light: #64589c;
$custom-dark: #000000;
JSON
{
  "hex": "#131b72",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 234.947,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29022,
    "c": 0.14583,
    "h": 269.5
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#131B72
secondary
#A99F38
accent
#DF3AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #131B72

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

Preview Lab → · Contrast checker → · Palette generator →

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