#173380#173380

#173380 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.135 H 264.9°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#173380
RGBrgb(23, 51, 128)
HSLhsl(224, 70%, 30%)
HSVhsv(224, 82%, 50%)
CMYKcmyk(82%, 60.2%, 0%, 49.8%)
CIE-LABlab(24.02, 20.08, -46.41)
CIE-LCHlch(24.02, 50.56, 293.39°)
OKLaboklab(35.24% -0.0119 -0.1341)
OKLCHoklch(35.24% 0.135 264.9)
XYZxyz(5.4321, 4.1077, 20.9245)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173380 #806417
analogous
#176880 #173380 #301780
triadic
#173380 #801733 #338017
tetradic
#173380 #801768 #806417 #178030
square
#173380 #801768 #806417 #178030
split-complementary
#173380 #803017 #688017
monochromatic
#050A1A #0E1E4C #173380 #2048B4 #3662DB

Accessibility & contrast

On white

11.53
#173380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#173380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173380
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173380#FFFFFF#000000##FFFFFF
##1733801.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173380;
/* rgb */ color: rgb(23, 51, 128);
/* oklch */ color: oklch(35.2% 0.135 264.9);
Tailwind
colors: {
  custom: {
    50: '#676aa6',
    500: '#173380',
    950: '#000000',
  },
}
SCSS
$custom: #173380;
$custom-light: #676aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#173380",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 128
  },
  "hsl": {
    "h": 224,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35242,
    "c": 0.13461,
    "h": 264.9
  },
  "luminance": 0.04108
}

Semantic roles & 50–950 ramp

primary
#173380
secondary
#B4953E
accent
#BD3BEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #173380

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

Preview Lab → · Contrast checker → · Palette generator →

#173380 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva