#13185F#13185F

#13185F is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.123 H 271.3°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#13185F
RGBrgb(19, 24, 95)
HSLhsl(236, 67%, 22%)
HSVhsv(236, 80%, 37%)
CMYKcmyk(80%, 74.7%, 0%, 62.7%)
CIE-LABlab(13.34, 25.35, -42.56)
CIE-LCHlch(13.34, 49.53, 300.78°)
OKLaboklab(26.34% 0.0029 -0.1231)
OKLCHoklch(26.34% 0.123 271.3)
XYZxyz(2.6601, 1.6177, 10.9963)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13185F #5F5A13
analogous
#133E5F #13185F #34135F
triadic
#13185F #5F1318 #185F13
tetradic
#13185F #5F133E #5F5A13 #135F34
square
#13185F #5F133E #5F5A13 #135F34
split-complementary
#13185F #5F3413 #3E5F13
monochromatic
#05061A #090B2C #13185F #1D2592 #2732C5

Accessibility & contrast

On white

15.87
#13185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13185F
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13185F#FFFFFF#000000##FFFFFF
##13185F1.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #13185f;
/* rgb */ color: rgb(19, 24, 95);
/* oklch */ color: oklch(26.3% 0.123 271.3);
Tailwind
colors: {
  custom: {
    50: '#5f558d',
    500: '#13185f',
    950: '#000000',
  },
}
SCSS
$custom: #13185f;
$custom-light: #5f558d;
$custom-dark: #000000;
JSON
{
  "hex": "#13185f",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 236.053,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26337,
    "c": 0.12318,
    "h": 271.3
  },
  "luminance": 0.01618
}

Semantic roles & 50–950 ramp

primary
#13185F
secondary
#979137
accent
#DE3EEA
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #13185F

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

Preview Lab → · Contrast checker → · Palette generator →

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