#131D7F#131D7F

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

Color values

HEX#131D7F
RGBrgb(19, 29, 127)
HSLhsl(234, 74%, 29%)
HSVhsv(234, 85%, 50%)
CMYKcmyk(85%, 77.2%, 0%, 50.2%)
CIE-LABlab(18.14, 34.23, -55.45)
CIE-LCHlch(18.14, 65.16, 301.69°)
OKLaboklab(30.86% -0.004 -0.1607)
OKLCHoklch(30.86% 0.161 268.6)
XYZxyz(4.5374, 2.5489, 20.3274)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D7F #7F7513
analogous
#13537F #131D7F #3F137F
triadic
#131D7F #7F131D #1D7F13
tetradic
#131D7F #7F1353 #7F7513 #137F3F
square
#131D7F #7F1353 #7F7513 #137F3F
split-complementary
#131D7F #7F3F13 #537F13
monochromatic
#04061B #0B114A #131D7F #1B29B4 #2D3DE0

Accessibility & contrast

On white

13.91
#131D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#131D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131D7F
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D7F#FFFFFF#000000##FFFFFF
##131D7F1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131d7f;
/* rgb */ color: rgb(19, 29, 127);
/* oklch */ color: oklch(30.9% 0.161 268.6);
Tailwind
colors: {
  custom: {
    50: '#685aa5',
    500: '#131d7f',
    950: '#000000',
  },
}
SCSS
$custom: #131d7f;
$custom-light: #685aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#131d7f",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 234.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30856,
    "c": 0.16073,
    "h": 268.6
  },
  "luminance": 0.02549
}

Semantic roles & 50–950 ramp

primary
#131D7F
secondary
#B4A939
accent
#DF37F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #131D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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