#13156F#13156F

#13156F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.148 H 270.6°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#13156F
RGBrgb(19, 21, 111)
HSLhsl(239, 71%, 25%)
HSVhsv(239, 83%, 44%)
CMYKcmyk(82.9%, 81.1%, 0%, 56.5%)
CIE-LABlab(14.52, 33.26, -51.14)
CIE-LCHlch(14.52, 61.00, 303.04°)
OKLaboklab(27.74% 0.0015 -0.1481)
OKLCHoklch(27.74% 0.148 270.6)
XYZxyz(3.4050, 1.8221, 15.2081)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13156F #6F6D13
analogous
#13436F #13156F #3F136F
triadic
#13156F #6F1315 #156F13
tetradic
#13156F #6F1343 #6F6D13 #136F3F
square
#13156F #6F1343 #6F6D13 #136F3F
split-complementary
#13156F #6F3F13 #436F13
monochromatic
#04051A #0A0B3B #13156F #1C1FA3 #2529D8

Accessibility & contrast

On white

15.39
#13156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13156F
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13156F#FFFFFF#000000##FFFFFF
##13156F1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00206D
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #13156f;
/* rgb */ color: rgb(19, 21, 111);
/* oklch */ color: oklch(27.7% 0.148 270.6);
Tailwind
colors: {
  custom: {
    50: '#645499',
    500: '#13156f',
    950: '#000000',
  },
}
SCSS
$custom: #13156f;
$custom-light: #645499;
$custom-dark: #000000;
JSON
{
  "hex": "#13156f",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 238.696,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27736,
    "c": 0.14811,
    "h": 270.6
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#13156F
secondary
#A6A338
accent
#EA3AEE
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #13156F

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

Preview Lab → · Contrast checker → · Palette generator →

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