#13155C#13155C

#13155C is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.123 H 272.4°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#13155C
RGBrgb(19, 21, 92)
HSLhsl(238, 66%, 22%)
HSVhsv(238, 79%, 36%)
CMYKcmyk(79.3%, 77.2%, 0%, 63.9%)
CIE-LABlab(12.27, 26.21, -42.31)
CIE-LCHlch(12.27, 49.77, 301.78°)
OKLaboklab(25.47% 0.0051 -0.1224)
OKLCHoklch(25.47% 0.123 272.4)
XYZxyz(2.4678, 1.4472, 10.2724)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13155C #5C5A13
analogous
#133A5C #13155C #36135C
triadic
#13155C #5C1315 #155C13
tetradic
#13155C #5C133A #5C5A13 #135C36
square
#13155C #5C133A #5C5A13 #135C36
split-complementary
#13155C #5C3613 #3A5C13
monochromatic
#050619 #090929 #13155C #1D218F #282CC1

Accessibility & contrast

On white

16.29
#13155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#13155C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13155C
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13155C#FFFFFF#000000##FFFFFF
##13155C1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#001C5B
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #13155c;
/* rgb */ color: rgb(19, 21, 92);
/* oklch */ color: oklch(25.5% 0.123 272.4);
Tailwind
colors: {
  custom: {
    50: '#5f538b',
    500: '#13155c',
    950: '#000000',
  },
}
SCSS
$custom: #13155c;
$custom-light: #5f538b;
$custom-dark: #000000;
JSON
{
  "hex": "#13155c",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 238.356,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25469,
    "c": 0.12253,
    "h": 272.4
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#13155C
secondary
#949237
accent
#E43FE9
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #13155C

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

Preview Lab → · Contrast checker → · Palette generator →

#13155C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva