#131D74#131D74

#131D74 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.146 H 269.0°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#131D74
RGBrgb(19, 29, 116)
HSLhsl(234, 72%, 26%)
HSVhsv(234, 84%, 45%)
CMYKcmyk(83.6%, 75%, 0%, 54.5%)
CIE-LABlab(16.88, 30.12, -50.48)
CIE-LCHlch(16.88, 58.79, 300.82°)
OKLaboklab(29.59% -0.0024 -0.1463)
OKLCHoklch(29.59% 0.146 269)
XYZxyz(3.8592, 2.2777, 16.7558)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D74 #746A13
analogous
#134E74 #131D74 #3A1374
triadic
#131D74 #74131D #1D7413
tetradic
#131D74 #74134E #746A13 #13743A
square
#131D74 #74134E #746A13 #13743A
split-complementary
#131D74 #743A13 #4E7413
monochromatic
#04071A #0A103F #131D74 #1C2AA9 #2639DB

Accessibility & contrast

On white

14.43
#131D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#131D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131D74
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D74#FFFFFF#000000##FFFFFF
##131D741.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002572
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #131d74;
/* rgb */ color: rgb(19, 29, 116);
/* oklch */ color: oklch(29.6% 0.146 269.0);
Tailwind
colors: {
  custom: {
    50: '#65599d',
    500: '#131d74',
    950: '#000000',
  },
}
SCSS
$custom: #131d74;
$custom-light: #65599d;
$custom-dark: #000000;
JSON
{
  "hex": "#131d74",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 233.814,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29586,
    "c": 0.14628,
    "h": 269
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#131D74
secondary
#AA9F38
accent
#DC39EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #131D74

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

Preview Lab → · Contrast checker → · Palette generator →

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