#13147E#13147E

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

Color values

HEX#13147E
RGBrgb(19, 20, 126)
HSLhsl(239, 74%, 28%)
HSVhsv(239, 85%, 49%)
CMYKcmyk(84.9%, 84.1%, 0%, 50.6%)
CIE-LABlab(16.23, 39.01, -57.98)
CIE-LCHlch(16.23, 69.88, 303.94°)
OKLaboklab(29.48% -0.0014 -0.1679)
OKLCHoklch(29.48% 0.168 269.5)
XYZxyz(4.2833, 2.1446, 19.9228)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13147E #7E7D13
analogous
#13497E #13147E #47137E
triadic
#13147E #7E1314 #147E13
tetradic
#13147E #7E1349 #7E7D13 #137E47
square
#13147E #7E1349 #7E7D13 #137E47
split-complementary
#13147E #7E4713 #497E13
monochromatic
#04041B #0B0C49 #13147E #1B1CB3 #2C2EDF

Accessibility & contrast

On white

14.70
#13147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13147E
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13147E#FFFFFF#000000##FFFFFF
##13147E1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #13147e;
/* rgb */ color: rgb(19, 20, 126);
/* oklch */ color: oklch(29.5% 0.168 269.5);
Tailwind
colors: {
  custom: {
    50: '#6954a5',
    500: '#13147e',
    950: '#000000',
  },
}
SCSS
$custom: #13147e;
$custom-light: #6954a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13147e",
  "rgb": {
    "r": 19,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 239.439,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29476,
    "c": 0.16789,
    "h": 269.5
  },
  "luminance": 0.02145
}

Semantic roles & 50–950 ramp

primary
#13147E
secondary
#B4B239
accent
#EF37F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #13147E

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

Preview Lab → · Contrast checker → · Palette generator →

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