#13185A#13185A

#13185A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.8% C 0.116 H 271.7°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#13185A
RGBrgb(19, 24, 90)
HSLhsl(236, 65%, 21%)
HSVhsv(236, 79%, 35%)
CMYKcmyk(78.9%, 73.3%, 0%, 64.7%)
CIE-LABlab(12.79, 23.38, -40.10)
CIE-LCHlch(12.79, 46.42, 300.25°)
OKLaboklab(25.78% 0.0035 -0.116)
OKLCHoklch(25.78% 0.116 271.7)
XYZxyz(2.4400, 1.5296, 9.8375)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13185A #5A5513
analogous
#133C5A #13185A #32135A
triadic
#13185A #5A1318 #185A13
tetradic
#13185A #5A133C #5A5513 #135A32
square
#13185A #5A133C #5A5513 #135A32
split-complementary
#13185A #5A3213 #3C5A13
monochromatic
#050719 #080B27 #13185A #1E258D #2833BF

Accessibility & contrast

On white

16.08
#13185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#13185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13185A
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13185A#FFFFFF#000000##FFFFFF
##13185A1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#002A36
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #13185a;
/* rgb */ color: rgb(19, 24, 90);
/* oklch */ color: oklch(25.8% 0.116 271.7);
Tailwind
colors: {
  custom: {
    50: '#5e5589',
    500: '#13185a',
    950: '#000000',
  },
}
SCSS
$custom: #13185a;
$custom-light: #5e5589;
$custom-dark: #000000;
JSON
{
  "hex": "#13185a",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 235.775,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25782,
    "c": 0.11602,
    "h": 271.7
  },
  "luminance": 0.0153
}

Semantic roles & 50–950 ramp

primary
#13185A
secondary
#928C37
accent
#DC40E8
background
#F5F4F8
surface
#EAE8F0
border
#C6C4CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #13185A

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

Preview Lab → · Contrast checker → · Palette generator →

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