#13137E#13137E

#13137E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.169 H 269.6°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#13137E
RGBrgb(19, 19, 126)
HSLhsl(240, 74%, 28%)
HSVhsv(240, 85%, 49%)
CMYKcmyk(84.9%, 84.9%, 0%, 50.6%)
CIE-LABlab(16.05, 39.53, -58.27)
CIE-LCHlch(16.05, 70.41, 304.15°)
OKLaboklab(29.35% -0.0012 -0.1687)
OKLCHoklch(29.35% 0.169 269.6)
XYZxyz(4.2660, 2.1100, 19.9171)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13137E #7E7E13
analogous
#13487E #13137E #48137E
triadic
#13137E #7E1313 #137E13
tetradic
#13137E #7E1348 #7E7E13 #137E48
square
#13137E #7E1348 #7E7E13 #137E48
split-complementary
#13137E #7E4813 #487E13
monochromatic
#04041B #0B0B49 #13137E #1B1BB3 #2C2CDF

Accessibility & contrast

On white

14.77
#13137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#13137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13137E
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13137E#FFFFFF#000000##FFFFFF
##13137E1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00227C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #13137e;
/* rgb */ color: rgb(19, 19, 126);
/* oklch */ color: oklch(29.4% 0.169 269.6);
Tailwind
colors: {
  custom: {
    50: '#6954a5',
    500: '#13137e',
    950: '#000000',
  },
}
SCSS
$custom: #13137e;
$custom-light: #6954a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13137e",
  "rgb": {
    "r": 19,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 240,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29355,
    "c": 0.1687,
    "h": 269.6
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#13137E
secondary
#B4B439
accent
#F037F0
background
#F6F5FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #13137E

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

Preview Lab → · Contrast checker → · Palette generator →

#13137E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva