#13187F#13187F

#13187F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.166 H 269.1°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#13187F
RGBrgb(19, 24, 127)
HSLhsl(237, 74%, 29%)
HSVhsv(237, 85%, 50%)
CMYKcmyk(85%, 81.1%, 0%, 50.2%)
CIE-LABlab(17.10, 37.19, -57.17)
CIE-LCHlch(17.10, 68.20, 303.05°)
OKLaboklab(30.12% -0.0025 -0.1656)
OKLCHoklch(30.12% 0.166 269.1)
XYZxyz(4.4246, 2.3235, 20.2898)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13187F #7F7A13
analogous
#134E7F #13187F #44137F
triadic
#13187F #7F1318 #187F13
tetradic
#13187F #7F134E #7F7A13 #137F44
square
#13187F #7F134E #7F7A13 #137F44
split-complementary
#13187F #7F4413 #4E7F13
monochromatic
#04051B #0B0E4A #13187F #1B22B4 #2D35E0

Accessibility & contrast

On white

14.34
#13187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13187F
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13187F#FFFFFF#000000##FFFFFF
##13187F1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #13187f;
/* rgb */ color: rgb(19, 24, 127);
/* oklch */ color: oklch(30.1% 0.166 269.1);
Tailwind
colors: {
  custom: {
    50: '#6857a5',
    500: '#13187f',
    950: '#000000',
  },
}
SCSS
$custom: #13187f;
$custom-light: #6857a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13187f",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 237.222,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30122,
    "c": 0.16562,
    "h": 269.1
  },
  "luminance": 0.02324
}

Semantic roles & 50–950 ramp

primary
#13187F
secondary
#B4AF39
accent
#E837F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #13187F

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

Preview Lab → · Contrast checker → · Palette generator →

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