#131974#131974

#131974 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.151 H 269.7°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#131974
RGBrgb(19, 25, 116)
HSLhsl(236, 72%, 26%)
HSVhsv(236, 84%, 45%)
CMYKcmyk(83.6%, 78.4%, 0%, 54.5%)
CIE-LABlab(15.97, 32.66, -51.98)
CIE-LCHlch(15.97, 61.39, 302.14°)
OKLaboklab(28.94% -0.0009 -0.1506)
OKLCHoklch(28.94% 0.151 269.7)
XYZxyz(3.7675, 2.0942, 16.7253)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131974 #746E13
analogous
#134A74 #131974 #3E1374
triadic
#131974 #741319 #197413
tetradic
#131974 #74134A #746E13 #13743E
square
#131974 #74134A #746E13 #13743E
split-complementary
#131974 #743E13 #4A7413
monochromatic
#04061A #0A0E3F #131974 #1C24A9 #2631DB

Accessibility & contrast

On white

14.80
#131974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#131974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131974
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131974#FFFFFF#000000##FFFFFF
##1319741.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131974;
/* rgb */ color: rgb(19, 25, 116);
/* oklch */ color: oklch(28.9% 0.151 269.7);
Tailwind
colors: {
  custom: {
    50: '#65579d',
    500: '#131974',
    950: '#000000',
  },
}
SCSS
$custom: #131974;
$custom-light: #65579d;
$custom-dark: #000000;
JSON
{
  "hex": "#131974",
  "rgb": {
    "r": 19,
    "g": 25,
    "b": 116
  },
  "hsl": {
    "h": 236.289,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28938,
    "c": 0.15059,
    "h": 269.7
  },
  "luminance": 0.02095
}

Semantic roles & 50–950 ramp

primary
#131974
secondary
#AAA338
accent
#E339EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #131974

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

Preview Lab → · Contrast checker → · Palette generator →

#131974 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva