#13145E#13145E

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

Color values

HEX#13145E
RGBrgb(19, 20, 94)
HSLhsl(239, 66%, 22%)
HSVhsv(239, 80%, 37%)
CMYKcmyk(79.8%, 78.7%, 0%, 63.1%)
CIE-LABlab(12.26, 27.63, -43.66)
CIE-LCHlch(12.26, 51.66, 302.33°)
OKLaboklab(25.54% 0.0053 -0.1263)
OKLCHoklch(25.54% 0.126 272.4)
XYZxyz(2.5384, 1.4466, 10.7330)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13145E #5E5D13
analogous
#133A5E #13145E #38135E
triadic
#13145E #5E1314 #145E13
tetradic
#13145E #5E133A #5E5D13 #135E38
square
#13145E #5E133A #5E5D13 #135E38
split-complementary
#13145E #5E3813 #3A5E13
monochromatic
#050519 #09092B #13145E #1D1F91 #282AC4

Accessibility & contrast

On white

16.29
#13145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#13145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13145E
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13145E#FFFFFF#000000##FFFFFF
##13145E1.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)
#002460
Deuteranopia (green-blind)
#001C5D
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #13145e;
/* rgb */ color: rgb(19, 20, 94);
/* oklch */ color: oklch(25.5% 0.126 272.4);
Tailwind
colors: {
  custom: {
    50: '#5f528d',
    500: '#13145e',
    950: '#000000',
  },
}
SCSS
$custom: #13145e;
$custom-light: #5f528d;
$custom-dark: #000000;
JSON
{
  "hex": "#13145e",
  "rgb": {
    "r": 19,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 239.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25535,
    "c": 0.12645,
    "h": 272.4
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#13145E
secondary
#969537
accent
#E73FE9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #13145E

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

Preview Lab → · Contrast checker → · Palette generator →

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