#13187E#13187E

#13187E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.164 H 269.2°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#13187E
RGBrgb(19, 24, 126)
HSLhsl(237, 74%, 28%)
HSVhsv(237, 85%, 49%)
CMYKcmyk(84.9%, 81%, 0%, 50.6%)
CIE-LABlab(16.98, 36.84, -56.73)
CIE-LCHlch(16.98, 67.65, 303.00°)
OKLaboklab(30% -0.0023 -0.1643)
OKLCHoklch(30% 0.164 269.2)
XYZxyz(4.3598, 2.2976, 19.9483)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13187E #7E7913
analogous
#134D7E #13187E #43137E
triadic
#13187E #7E1318 #187E13
tetradic
#13187E #7E134D #7E7913 #137E43
square
#13187E #7E134D #7E7913 #137E43
split-complementary
#13187E #7E4313 #4D7E13
monochromatic
#04051B #0B0E49 #13187E #1B22B3 #2C35DF

Accessibility & contrast

On white

14.39
#13187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#13187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13187E
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13187E#FFFFFF#000000##FFFFFF
##13187E1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #13187e;
/* rgb */ color: rgb(19, 24, 126);
/* oklch */ color: oklch(30.0% 0.164 269.2);
Tailwind
colors: {
  custom: {
    50: '#6857a5',
    500: '#13187e',
    950: '#000000',
  },
}
SCSS
$custom: #13187e;
$custom-light: #6857a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13187e",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 237.196,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3,
    "c": 0.16437,
    "h": 269.2
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#13187E
secondary
#B4AE39
accent
#E837F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #13187E

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

Preview Lab → · Contrast checker → · Palette generator →

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