#131B74#131B74

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

Color values

HEX#131B74
RGBrgb(19, 27, 116)
HSLhsl(235, 72%, 26%)
HSVhsv(235, 84%, 45%)
CMYKcmyk(83.6%, 76.7%, 0%, 54.5%)
CIE-LABlab(16.42, 31.41, -51.25)
CIE-LCHlch(16.42, 60.11, 301.50°)
OKLaboklab(29.25% -0.0016 -0.1485)
OKLCHoklch(29.25% 0.148 269.4)
XYZxyz(3.8118, 2.1828, 16.7400)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B74 #746C13
analogous
#134C74 #131B74 #3C1374
triadic
#131B74 #74131B #1B7413
tetradic
#131B74 #74134C #746C13 #13743C
square
#131B74 #74134C #746C13 #13743C
split-complementary
#131B74 #743C13 #4C7413
monochromatic
#04061A #0A0F3F #131B74 #1C27A9 #2635DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##131B74#FFFFFF#000000##FFFFFF
##131B741.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)
#002D77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #131b74;
/* rgb */ color: rgb(19, 27, 116);
/* oklch */ color: oklch(29.3% 0.148 269.4);
Tailwind
colors: {
  custom: {
    50: '#65589d',
    500: '#131b74',
    950: '#000000',
  },
}
SCSS
$custom: #131b74;
$custom-light: #65589d;
$custom-dark: #000000;
JSON
{
  "hex": "#131b74",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 235.052,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29254,
    "c": 0.14848,
    "h": 269.4
  },
  "luminance": 0.02183
}

Semantic roles & 50–950 ramp

primary
#131B74
secondary
#AAA138
accent
#E039EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #131B74

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

Preview Lab → · Contrast checker → · Palette generator →

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