#13147F#13147F

#13147F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.169 H 269.5°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#13147F
RGBrgb(19, 20, 127)
HSLhsl(239, 74%, 29%)
HSVhsv(239, 85%, 50%)
CMYKcmyk(85%, 84.3%, 0%, 50.2%)
CIE-LABlab(16.36, 39.35, -58.40)
CIE-LCHlch(16.36, 70.42, 303.97°)
OKLaboklab(29.6% -0.0016 -0.1691)
OKLCHoklch(29.6% 0.169 269.5)
XYZxyz(4.3482, 2.1705, 20.2643)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13147F #7F7E13
analogous
#134A7F #13147F #48137F
triadic
#13147F #7F1314 #147F13
tetradic
#13147F #7F134A #7F7E13 #137F48
square
#13147F #7F134A #7F7E13 #137F48
split-complementary
#13147F #7F4813 #4A7F13
monochromatic
#04041B #0B0C4A #13147F #1B1CB4 #2D2EE0

Accessibility & contrast

On white

14.64
#13147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13147F
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13147F#FFFFFF#000000##FFFFFF
##13147F1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #13147f;
/* rgb */ color: rgb(19, 20, 127);
/* oklch */ color: oklch(29.6% 0.169 269.5);
Tailwind
colors: {
  custom: {
    50: '#6955a5',
    500: '#13147f',
    950: '#000000',
  },
}
SCSS
$custom: #13147f;
$custom-light: #6955a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13147f",
  "rgb": {
    "r": 19,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 239.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29603,
    "c": 0.16911,
    "h": 269.5
  },
  "luminance": 0.02171
}

Semantic roles & 50–950 ramp

primary
#13147F
secondary
#B4B339
accent
#EF37F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #13147F

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

Preview Lab → · Contrast checker → · Palette generator →

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