#13145C#13145C

#13145C is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.3% C 0.124 H 272.6°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#13145C
RGBrgb(19, 20, 92)
HSLhsl(239, 66%, 22%)
HSVhsv(239, 79%, 36%)
CMYKcmyk(79.3%, 78.3%, 0%, 63.9%)
CIE-LABlab(12.03, 26.87, -42.70)
CIE-LCHlch(12.03, 50.45, 302.18°)
OKLaboklab(25.3% 0.0056 -0.1236)
OKLCHoklch(25.3% 0.124 272.6)
XYZxyz(2.4498, 1.4112, 10.2664)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13145C #5C5B13
analogous
#13395C #13145C #37135C
triadic
#13145C #5C1314 #145C13
tetradic
#13145C #5C1339 #5C5B13 #135C37
square
#13145C #5C1339 #5C5B13 #135C37
split-complementary
#13145C #5C3713 #395C13
monochromatic
#050619 #090929 #13145C #1D1F8F #282AC1

Accessibility & contrast

On white

16.38
#13145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#13145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13145C
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13145C#FFFFFF#000000##FFFFFF
##13145C1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #13145c;
/* rgb */ color: rgb(19, 20, 92);
/* oklch */ color: oklch(25.3% 0.124 272.6);
Tailwind
colors: {
  custom: {
    50: '#5f528b',
    500: '#13145c',
    950: '#000000',
  },
}
SCSS
$custom: #13145c;
$custom-light: #5f528b;
$custom-dark: #000000;
JSON
{
  "hex": "#13145c",
  "rgb": {
    "r": 19,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 239.178,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.253,
    "c": 0.12369,
    "h": 272.6
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#13145C
secondary
#949337
accent
#E63FE9
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #13145C

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

Preview Lab → · Contrast checker → · Palette generator →

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