#13138E#13138E

#13138E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.188 H 268.6°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#13138E
RGBrgb(19, 19, 142)
HSLhsl(240, 76%, 32%)
HSVhsv(240, 87%, 56%)
CMYKcmyk(86.6%, 86.6%, 0%, 44.3%)
CIE-LABlab(18.17, 44.71, -64.84)
CIE-LCHlch(18.17, 78.76, 304.59°)
OKLaboklab(31.42% -0.0046 -0.1877)
OKLCHoklch(31.42% 0.188 268.6)
XYZxyz(5.3822, 2.5565, 25.7957)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13138E #8E8E13
analogous
#13518E #13138E #51138E
triadic
#13138E #8E1313 #138E13
tetradic
#13138E #8E1351 #8E8E13 #138E51
square
#13138E #8E1351 #8E8E13 #138E51
split-complementary
#13138E #8E5113 #518E13
monochromatic
#050522 #0C0C58 #13138E #1A1AC4 #3737E4

Accessibility & contrast

On white

13.89
#13138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#13138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13138E
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13138E#FFFFFF#000000##FFFFFF
##13138E1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003391
Deuteranopia (green-blind)
#00268C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #13138e;
/* rgb */ color: rgb(19, 19, 142);
/* oklch */ color: oklch(31.4% 0.188 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d55b0',
    500: '#13138e',
    950: '#000000',
  },
}
SCSS
$custom: #13138e;
$custom-light: #6d55b0;
$custom-dark: #000000;
JSON
{
  "hex": "#13138e",
  "rgb": {
    "r": 19,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 240,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31421,
    "c": 0.18774,
    "h": 268.6
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#13138E
secondary
#C2C23B
accent
#F335F3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #13138E

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

Preview Lab → · Contrast checker → · Palette generator →

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