#13173B#13173B

#13173B is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.5% C 0.069 H 274.7°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#13173B
RGBrgb(19, 23, 59)
HSLhsl(234, 51%, 15%)
HSVhsv(234, 68%, 23%)
CMYKcmyk(67.8%, 61%, 0%, 76.9%)
CIE-LABlab(9.54, 11.44, -23.93)
CIE-LCHlch(9.54, 26.52, 295.55°)
OKLaboklab(22.46% 0.0056 -0.0685)
OKLCHoklch(22.46% 0.069 274.7)
XYZxyz(1.3641, 1.0669, 4.2709)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13173B #3B3713
analogous
#132B3B #13173B #23133B
triadic
#13173B #3B1317 #173B13
tetradic
#13173B #3B132B #3B3713 #133B23
square
#13173B #3B132B #3B3713 #133B23
split-complementary
#13173B #3B2313 #2B3B13
monochromatic
#070917 #070917 #13173B #222969 #313B98

Accessibility & contrast

On white

17.31
#13173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#13173B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13173B
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13173B#FFFFFF#000000##FFFFFF
##13173B1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3C
Deuteranopia (green-blind)
#00193A
Tritanopia (blue-blind)
#001F26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #13173b;
/* rgb */ color: rgb(19, 23, 59);
/* oklch */ color: oklch(22.5% 0.069 274.7);
Tailwind
colors: {
  custom: {
    50: '#555371',
    500: '#13173b',
    950: '#000000',
  },
}
SCSS
$custom: #13173b;
$custom-light: #555371;
$custom-dark: #000000;
JSON
{
  "hex": "#13173b",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 234,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22458,
    "c": 0.06876,
    "h": 274.7
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#13173B
secondary
#736D36
accent
#CD4DDB
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #13173B

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

Preview Lab → · Contrast checker → · Palette generator →

#13173B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva