#13148E#13148E

#13148E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.187 H 268.5°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#13148E
RGBrgb(19, 20, 142)
HSLhsl(240, 76%, 32%)
HSVhsv(240, 87%, 56%)
CMYKcmyk(86.6%, 85.9%, 0%, 44.3%)
CIE-LABlab(18.33, 44.25, -64.58)
CIE-LCHlch(18.33, 78.29, 304.42°)
OKLaboklab(31.53% -0.0048 -0.187)
OKLCHoklch(31.53% 0.187 268.5)
XYZxyz(5.3995, 2.5911, 25.8015)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13148E #8E8D13
analogous
#13528E #13148E #50138E
triadic
#13148E #8E1314 #148E13
tetradic
#13148E #8E1352 #8E8D13 #138E50
square
#13148E #8E1352 #8E8D13 #138E50
split-complementary
#13148E #8E5013 #528E13
monochromatic
#050522 #0C0C58 #13148E #1A1CC4 #3739E4

Accessibility & contrast

On white

13.83
#13148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#13148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13148E
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13148E#FFFFFF#000000##FFFFFF
##13148E1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #13148e;
/* rgb */ color: rgb(19, 20, 142);
/* oklch */ color: oklch(31.5% 0.187 268.5);
Tailwind
colors: {
  custom: {
    50: '#6d56b0',
    500: '#13148e',
    950: '#000000',
  },
}
SCSS
$custom: #13148e;
$custom-light: #6d56b0;
$custom-dark: #000000;
JSON
{
  "hex": "#13148e",
  "rgb": {
    "r": 19,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 239.512,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31526,
    "c": 0.18703,
    "h": 268.5
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#13148E
secondary
#C2C13B
accent
#F135F3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #13148E

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

Preview Lab → · Contrast checker → · Palette generator →

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