#13137F#13137F

#13137F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.170 H 269.5°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#13137F
RGBrgb(19, 19, 127)
HSLhsl(240, 74%, 29%)
HSVhsv(240, 85%, 50%)
CMYKcmyk(85%, 85%, 0%, 50.2%)
CIE-LABlab(16.19, 39.86, -58.69)
CIE-LCHlch(16.19, 70.94, 304.18°)
OKLaboklab(29.48% -0.0014 -0.1699)
OKLCHoklch(29.48% 0.17 269.5)
XYZxyz(4.3309, 2.1360, 20.2586)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13137F #7F7F13
analogous
#13497F #13137F #49137F
triadic
#13137F #7F1313 #137F13
tetradic
#13137F #7F1349 #7F7F13 #137F49
square
#13137F #7F1349 #7F7F13 #137F49
split-complementary
#13137F #7F4913 #497F13
monochromatic
#04041B #0B0B4A #13137F #1B1BB4 #2D2DE0

Accessibility & contrast

On white

14.71
#13137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#13137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13137F
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13137F#FFFFFF#000000##FFFFFF
##13137F1.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)
#002E82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #13137f;
/* rgb */ color: rgb(19, 19, 127);
/* oklch */ color: oklch(29.5% 0.170 269.5);
Tailwind
colors: {
  custom: {
    50: '#6954a5',
    500: '#13137f',
    950: '#000000',
  },
}
SCSS
$custom: #13137f;
$custom-light: #6954a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13137f",
  "rgb": {
    "r": 19,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 240,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29483,
    "c": 0.16992,
    "h": 269.5
  },
  "luminance": 0.02136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #13137F

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

Preview Lab → · Contrast checker → · Palette generator →

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