#13186F#13186F

#13186F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.145 H 270.1°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#13186F
RGBrgb(19, 24, 111)
HSLhsl(237, 71%, 25%)
HSVhsv(237, 83%, 44%)
CMYKcmyk(82.9%, 78.4%, 0%, 56.5%)
CIE-LABlab(15.16, 31.44, -50.08)
CIE-LCHlch(15.16, 59.13, 302.12°)
OKLaboklab(28.19% 0.0004 -0.1451)
OKLCHoklch(28.19% 0.145 270.1)
XYZxyz(3.4635, 1.9390, 15.2276)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13186F #6F6A13
analogous
#13466F #13186F #3C136F
triadic
#13186F #6F1318 #186F13
tetradic
#13186F #6F1346 #6F6A13 #136F3C
square
#13186F #6F1346 #6F6A13 #136F3C
split-complementary
#13186F #6F3C13 #466F13
monochromatic
#04061A #0A0D3B #13186F #1C23A3 #252FD8

Accessibility & contrast

On white

15.13
#13186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#13186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13186F
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13186F#FFFFFF#000000##FFFFFF
##13186F1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #13186f;
/* rgb */ color: rgb(19, 24, 111);
/* oklch */ color: oklch(28.2% 0.145 270.1);
Tailwind
colors: {
  custom: {
    50: '#645699',
    500: '#13186f',
    950: '#000000',
  },
}
SCSS
$custom: #13186f;
$custom-light: #645699;
$custom-dark: #000000;
JSON
{
  "hex": "#13186f",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 236.739,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28188,
    "c": 0.14506,
    "h": 270.1
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#13186F
secondary
#A6A038
accent
#E43AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #13186F

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

Preview Lab → · Contrast checker → · Palette generator →

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