#131D7E#131D7E

#131D7E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.159 H 268.6°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#131D7E
RGBrgb(19, 29, 126)
HSLhsl(234, 74%, 28%)
HSVhsv(234, 85%, 49%)
CMYKcmyk(84.9%, 77%, 0%, 50.6%)
CIE-LABlab(18.02, 33.86, -55.00)
CIE-LCHlch(18.02, 64.59, 301.62°)
OKLaboklab(30.74% -0.0038 -0.1594)
OKLCHoklch(30.74% 0.159 268.6)
XYZxyz(4.4725, 2.5230, 19.9859)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D7E #7E7413
analogous
#13527E #131D7E #3F137E
triadic
#131D7E #7E131D #1D7E13
tetradic
#131D7E #7E1352 #7E7413 #137E3F
square
#131D7E #7E1352 #7E7413 #137E3F
split-complementary
#131D7E #7E3F13 #527E13
monochromatic
#04061B #0B1149 #131D7E #1B29B3 #2C3DDF

Accessibility & contrast

On white

13.96
#131D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#131D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131D7E
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D7E#FFFFFF#000000##FFFFFF
##131D7E1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #131d7e;
/* rgb */ color: rgb(19, 29, 126);
/* oklch */ color: oklch(30.7% 0.159 268.6);
Tailwind
colors: {
  custom: {
    50: '#685aa5',
    500: '#131d7e',
    950: '#000000',
  },
}
SCSS
$custom: #131d7e;
$custom-light: #685aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#131d7e",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 234.393,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30739,
    "c": 0.15944,
    "h": 268.6
  },
  "luminance": 0.02524
}

Semantic roles & 50–950 ramp

primary
#131D7E
secondary
#B4A839
accent
#DF37F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #131D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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