#131C72#131C72

#131C72 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.145 H 269.3°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#131C72
RGBrgb(19, 28, 114)
HSLhsl(234, 71%, 26%)
HSVhsv(234, 83%, 45%)
CMYKcmyk(83.3%, 75.4%, 0%, 55.3%)
CIE-LABlab(16.42, 30.01, -49.95)
CIE-LCHlch(16.42, 58.27, 301.00°)
OKLaboklab(29.19% -0.0017 -0.1447)
OKLCHoklch(29.19% 0.145 269.3)
XYZxyz(3.7200, 2.1834, 16.1417)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C72 #726913
analogous
#134B72 #131C72 #391372
triadic
#131C72 #72131C #1C7213
tetradic
#131C72 #72134B #726913 #137239
square
#131C72 #72134B #726913 #137239
split-complementary
#131C72 #723913 #4B7213
monochromatic
#04061A #0A0F3E #131C72 #1C29A6 #2536DB

Accessibility & contrast

On white

14.62
#131C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#131C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C72
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C72#FFFFFF#000000##FFFFFF
##131C721.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #131c72;
/* rgb */ color: rgb(19, 28, 114);
/* oklch */ color: oklch(29.2% 0.145 269.3);
Tailwind
colors: {
  custom: {
    50: '#64599c',
    500: '#131c72',
    950: '#000000',
  },
}
SCSS
$custom: #131c72;
$custom-light: #64599c;
$custom-dark: #000000;
JSON
{
  "hex": "#131c72",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 234.316,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29189,
    "c": 0.14471,
    "h": 269.3
  },
  "luminance": 0.02184
}

Semantic roles & 50–950 ramp

primary
#131C72
secondary
#A99E38
accent
#DD3AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #131C72

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

Preview Lab → · Contrast checker → · Palette generator →

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