#13168E#13168E

#13168E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.186 H 268.4°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#13168E
RGBrgb(19, 22, 142)
HSLhsl(239, 76%, 32%)
HSVhsv(239, 87%, 56%)
CMYKcmyk(86.6%, 84.5%, 0%, 44.3%)
CIE-LABlab(18.65, 43.30, -64.05)
CIE-LCHlch(18.65, 77.31, 304.06°)
OKLaboklab(31.75% -0.005 -0.1855)
OKLCHoklch(31.75% 0.186 268.4)
XYZxyz(5.4363, 2.6646, 25.8137)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13168E #8E8B13
analogous
#13548E #13168E #4E138E
triadic
#13168E #8E1316 #168E13
tetradic
#13168E #8E1354 #8E8B13 #138E4E
square
#13168E #8E1354 #8E8B13 #138E4E
split-complementary
#13168E #8E4E13 #548E13
monochromatic
#050522 #0C0E58 #13168E #1A1EC4 #373BE4

Accessibility & contrast

On white

13.70
#13168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#13168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13168E
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13168E#FFFFFF#000000##FFFFFF
##13168E1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00278C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #13168e;
/* rgb */ color: rgb(19, 22, 142);
/* oklch */ color: oklch(31.7% 0.186 268.4);
Tailwind
colors: {
  custom: {
    50: '#6d57b0',
    500: '#13168e',
    950: '#000000',
  },
}
SCSS
$custom: #13168e;
$custom-light: #6d57b0;
$custom-dark: #000000;
JSON
{
  "hex": "#13168e",
  "rgb": {
    "r": 19,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 238.537,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31749,
    "c": 0.18554,
    "h": 268.4
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#13168E
secondary
#C2BF3B
accent
#EE35F3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #13168E

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

Preview Lab → · Contrast checker → · Palette generator →

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