#13173F#13173F

#13173F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.076 H 274.4°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#13173F
RGBrgb(19, 23, 63)
HSLhsl(235, 54%, 16%)
HSVhsv(235, 70%, 25%)
CMYKcmyk(69.8%, 63.5%, 0%, 75.3%)
CIE-LABlab(9.88, 13.09, -26.23)
CIE-LCHlch(9.88, 29.31, 296.53°)
OKLaboklab(22.82% 0.0058 -0.0753)
OKLCHoklch(22.82% 0.076 274.4)
XYZxyz(1.4719, 1.1100, 4.8384)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13173F #3F3B13
analogous
#132D3F #13173F #25133F
triadic
#13173F #3F1317 #173F13
tetradic
#13173F #3F132D #3F3B13 #133F25
square
#13173F #3F132D #3F3B13 #133F25
split-complementary
#13173F #3F2513 #2D3F13
monochromatic
#070918 #070918 #13173F #21286E #2F399D

Accessibility & contrast

On white

17.18
#13173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#13173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13173F
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13173F#FFFFFF#000000##FFFFFF
##13173F1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #13173f;
/* rgb */ color: rgb(19, 23, 63);
/* oklch */ color: oklch(22.8% 0.076 274.4);
Tailwind
colors: {
  custom: {
    50: '#565374',
    500: '#13173f',
    950: '#000000',
  },
}
SCSS
$custom: #13173f;
$custom-light: #565374;
$custom-dark: #000000;
JSON
{
  "hex": "#13173f",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 234.545,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2282,
    "c": 0.07552,
    "h": 274.4
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#13173F
secondary
#787236
accent
#D04BDD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #13173F

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

Preview Lab → · Contrast checker → · Palette generator →

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