#13177F#13177F

#13177F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.167 H 269.2°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#13177F
RGBrgb(19, 23, 127)
HSLhsl(238, 74%, 29%)
HSVhsv(238, 85%, 50%)
CMYKcmyk(85%, 81.9%, 0%, 50.2%)
CIE-LABlab(16.91, 37.75, -57.49)
CIE-LCHlch(16.91, 68.77, 303.29°)
OKLaboklab(29.99% -0.0023 -0.1665)
OKLCHoklch(29.99% 0.167 269.2)
XYZxyz(4.4044, 2.2830, 20.2831)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13177F #7F7B13
analogous
#134D7F #13177F #45137F
triadic
#13177F #7F1317 #177F13
tetradic
#13177F #7F134D #7F7B13 #137F45
square
#13177F #7F134D #7F7B13 #137F45
split-complementary
#13177F #7F4513 #4D7F13
monochromatic
#04051B #0B0D4A #13177F #1B21B4 #2D33E0

Accessibility & contrast

On white

14.42
#13177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#13177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13177F
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13177F#FFFFFF#000000##FFFFFF
##13177F1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #13177f;
/* rgb */ color: rgb(19, 23, 127);
/* oklch */ color: oklch(30.0% 0.167 269.2);
Tailwind
colors: {
  custom: {
    50: '#6956a5',
    500: '#13177f',
    950: '#000000',
  },
}
SCSS
$custom: #13177f;
$custom-light: #6956a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13177f",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 237.778,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29987,
    "c": 0.16654,
    "h": 269.2
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#13177F
secondary
#B4B039
accent
#EA37F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #13177F

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

Preview Lab → · Contrast checker → · Palette generator →

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