#13167F#13167F

#13167F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.167 H 269.3°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#13167F
RGBrgb(19, 22, 127)
HSLhsl(238, 74%, 29%)
HSVhsv(238, 85%, 50%)
CMYKcmyk(85%, 82.7%, 0%, 50.2%)
CIE-LABlab(16.72, 38.29, -57.80)
CIE-LCHlch(16.72, 69.33, 303.53°)
OKLaboklab(29.85% -0.002 -0.1674)
OKLCHoklch(29.85% 0.167 269.3)
XYZxyz(4.3849, 2.2441, 20.2766)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13167F #7F7C13
analogous
#134C7F #13167F #46137F
triadic
#13167F #7F1316 #167F13
tetradic
#13167F #7F134C #7F7C13 #137F46
square
#13167F #7F134C #7F7C13 #137F46
split-complementary
#13167F #7F4613 #4C7F13
monochromatic
#04051B #0B0D4A #13167F #1B1FB4 #2D32E0

Accessibility & contrast

On white

14.49
#13167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#13167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13167F
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13167F#FFFFFF#000000##FFFFFF
##13167F1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #13167f;
/* rgb */ color: rgb(19, 22, 127);
/* oklch */ color: oklch(29.9% 0.167 269.3);
Tailwind
colors: {
  custom: {
    50: '#6956a5',
    500: '#13167f',
    950: '#000000',
  },
}
SCSS
$custom: #13167f;
$custom-light: #6956a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13167f",
  "rgb": {
    "r": 19,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 238.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29855,
    "c": 0.16741,
    "h": 269.3
  },
  "luminance": 0.02245
}

Semantic roles & 50–950 ramp

primary
#13167F
secondary
#B4B139
accent
#EB37F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #13167F

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

Preview Lab → · Contrast checker → · Palette generator →

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