#131C70#131C70

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

Color values

HEX#131C70
RGBrgb(19, 28, 112)
HSLhsl(234, 71%, 26%)
HSVhsv(234, 83%, 44%)
CMYKcmyk(83%, 75%, 0%, 56.1%)
CIE-LABlab(16.20, 29.25, -49.03)
CIE-LCHlch(16.20, 57.09, 300.82°)
OKLaboklab(28.96% -0.0015 -0.142)
OKLCHoklch(28.96% 0.142 269.4)
XYZxyz(3.6074, 2.1384, 15.5487)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C70 #706713
analogous
#134A70 #131C70 #391370
triadic
#131C70 #70131C #1C7013
tetradic
#131C70 #70134A #706713 #137039
square
#131C70 #70134A #706713 #137039
split-complementary
#131C70 #703913 #4A7013
monochromatic
#04071A #0A0F3C #131C70 #1C29A4 #2536D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##131C70#FFFFFF#000000##FFFFFF
##131C701.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)
#002D73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #131c70;
/* rgb */ color: rgb(19, 28, 112);
/* oklch */ color: oklch(29.0% 0.142 269.4);
Tailwind
colors: {
  custom: {
    50: '#64589a',
    500: '#131c70',
    950: '#000000',
  },
}
SCSS
$custom: #131c70;
$custom-light: #64589a;
$custom-dark: #000000;
JSON
{
  "hex": "#131c70",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 234.194,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28961,
    "c": 0.14202,
    "h": 269.4
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#131C70
secondary
#A79C38
accent
#DC3AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #131C70

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

Preview Lab → · Contrast checker → · Palette generator →

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