#13167E#13167E

#13167E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.166 H 269.4°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#13167E
RGBrgb(19, 22, 126)
HSLhsl(238, 74%, 28%)
HSVhsv(238, 85%, 49%)
CMYKcmyk(84.9%, 82.5%, 0%, 50.6%)
CIE-LABlab(16.59, 37.95, -57.37)
CIE-LCHlch(16.59, 68.79, 303.49°)
OKLaboklab(29.73% -0.0018 -0.1662)
OKLCHoklch(29.73% 0.166 269.4)
XYZxyz(4.3201, 2.2181, 19.9351)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13167E #7E7B13
analogous
#134B7E #13167E #45137E
triadic
#13167E #7E1316 #167E13
tetradic
#13167E #7E134B #7E7B13 #137E45
square
#13167E #7E134B #7E7B13 #137E45
split-complementary
#13167E #7E4513 #4B7E13
monochromatic
#04051B #0B0D49 #13167E #1B1FB3 #2C31DF

Accessibility & contrast

On white

14.54
#13167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#13167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13167E
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13167E#FFFFFF#000000##FFFFFF
##13167E1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #13167e;
/* rgb */ color: rgb(19, 22, 126);
/* oklch */ color: oklch(29.7% 0.166 269.4);
Tailwind
colors: {
  custom: {
    50: '#6856a5',
    500: '#13167e',
    950: '#000000',
  },
}
SCSS
$custom: #13167e;
$custom-light: #6856a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13167e",
  "rgb": {
    "r": 19,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 238.318,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.2973,
    "c": 0.16618,
    "h": 269.4
  },
  "luminance": 0.02219
}

Semantic roles & 50–950 ramp

primary
#13167E
secondary
#B4B039
accent
#EB37F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #13167E

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

Preview Lab → · Contrast checker → · Palette generator →

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