#13185E#13185E

#13185E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.122 H 271.4°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#13185E
RGBrgb(19, 24, 94)
HSLhsl(236, 66%, 22%)
HSVhsv(236, 80%, 37%)
CMYKcmyk(79.8%, 74.5%, 0%, 63.1%)
CIE-LABlab(13.23, 24.96, -42.07)
CIE-LCHlch(13.23, 48.92, 300.68°)
OKLaboklab(26.23% 0.003 -0.1217)
OKLCHoklch(26.23% 0.122 271.4)
XYZxyz(2.6149, 1.5996, 10.7584)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13185E #5E5913
analogous
#133E5E #13185E #34135E
triadic
#13185E #5E1318 #185E13
tetradic
#13185E #5E133E #5E5913 #135E34
square
#13185E #5E133E #5E5913 #135E34
split-complementary
#13185E #5E3413 #3E5E13
monochromatic
#050619 #090B2B #13185E #1D2591 #2832C4

Accessibility & contrast

On white

15.91
#13185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#13185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13185E
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13185E#FFFFFF#000000##FFFFFF
##13185E1.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #13185e;
/* rgb */ color: rgb(19, 24, 94);
/* oklch */ color: oklch(26.2% 0.122 271.4);
Tailwind
colors: {
  custom: {
    50: '#5f558c',
    500: '#13185e',
    950: '#000000',
  },
}
SCSS
$custom: #13185e;
$custom-light: #5f558c;
$custom-dark: #000000;
JSON
{
  "hex": "#13185e",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 236,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26225,
    "c": 0.12177,
    "h": 271.4
  },
  "luminance": 0.016
}

Semantic roles & 50–950 ramp

primary
#13185E
secondary
#969037
accent
#DE3FE9
background
#F5F4F8
surface
#EAE8F0
border
#C6C4CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #13185E

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

Preview Lab → · Contrast checker → · Palette generator →

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