#13156E#13156E

#13156E is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.147 H 270.7°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#13156E
RGBrgb(19, 21, 110)
HSLhsl(239, 71%, 25%)
HSVhsv(239, 83%, 43%)
CMYKcmyk(82.7%, 80.9%, 0%, 56.9%)
CIE-LABlab(14.40, 32.90, -50.69)
CIE-LCHlch(14.40, 60.43, 302.98°)
OKLaboklab(27.61% 0.0017 -0.1468)
OKLCHoklch(27.61% 0.147 270.7)
XYZxyz(3.3502, 1.8002, 14.9197)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13156E #6E6C13
analogous
#13436E #13156E #3E136E
triadic
#13156E #6E1315 #156E13
tetradic
#13156E #6E1343 #6E6C13 #136E3E
square
#13156E #6E1343 #6E6C13 #136E3E
split-complementary
#13156E #6E3E13 #436E13
monochromatic
#05051A #0A0B3A #13156E #1C1FA2 #2529D6

Accessibility & contrast

On white

15.44
#13156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#13156E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13156E
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13156E#FFFFFF#000000##FFFFFF
##13156E1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00206C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #13156e;
/* rgb */ color: rgb(19, 21, 110);
/* oklch */ color: oklch(27.6% 0.147 270.7);
Tailwind
colors: {
  custom: {
    50: '#645499',
    500: '#13156e',
    950: '#000000',
  },
}
SCSS
$custom: #13156e;
$custom-light: #645499;
$custom-dark: #000000;
JSON
{
  "hex": "#13156e",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 238.681,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27614,
    "c": 0.14681,
    "h": 270.7
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#13156E
secondary
#A5A338
accent
#E93AED
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #13156E

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

Preview Lab → · Contrast checker → · Palette generator →

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