#13152F#13152F

#13152F is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.0% C 0.051 H 277.7°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#13152F
RGBrgb(19, 21, 47)
HSLhsl(236, 42%, 13%)
HSVhsv(236, 60%, 18%)
CMYKcmyk(59.6%, 55.3%, 0%, 81.6%)
CIE-LABlab(7.95, 8.12, -17.77)
CIE-LCHlch(7.95, 19.53, 294.56°)
OKLaboklab(20.96% 0.0069 -0.0504)
OKLCHoklch(20.96% 0.051 277.7)
XYZxyz(1.0497, 0.8800, 2.8033)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13152F #2F2D13
analogous
#13232F #13152F #1F132F
triadic
#13152F #2F1315 #152F13
tetradic
#13152F #2F1323 #2F2D13 #132F1F
square
#13152F #2F1323 #2F2D13 #132F1F
split-complementary
#13152F #2F1F13 #232F13
monochromatic
#090A16 #090A16 #13152F #25285B #363C86

Accessibility & contrast

On white

17.86
#13152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#13152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13152F
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13152F#FFFFFF#000000##FFFFFF
##13152F1.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1930
Deuteranopia (green-blind)
#08162E
Tritanopia (blue-blind)
#081B1F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #13152f;
/* rgb */ color: rgb(19, 21, 47);
/* oklch */ color: oklch(21.0% 0.051 277.7);
Tailwind
colors: {
  custom: {
    50: '#535267',
    500: '#13152f',
    950: '#000000',
  },
}
SCSS
$custom: #13152f;
$custom-light: #535267;
$custom-dark: #000000;
JSON
{
  "hex": "#13152f",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 235.714,
    "s": 42.424,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20957,
    "c": 0.05091,
    "h": 277.7
  },
  "luminance": 0.0088
}

Semantic roles & 50–950 ramp

primary
#13152F
secondary
#666337
accent
#C956D2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #13152F

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

Preview Lab → · Contrast checker → · Palette generator →

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