#173280#173280

#173280 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.136 H 265.3°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#173280
RGBrgb(23, 50, 128)
HSLhsl(225, 70%, 30%)
HSVhsv(225, 82%, 50%)
CMYKcmyk(82%, 60.9%, 0%, 49.8%)
CIE-LABlab(23.74, 20.78, -46.87)
CIE-LCHlch(23.74, 51.27, 293.92°)
OKLaboklab(35.03% -0.0112 -0.1354)
OKLCHoklch(35.03% 0.136 265.3)
XYZxyz(5.3889, 4.0212, 20.9101)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173280 #806517
analogous
#176780 #173280 #301780
triadic
#173280 #801732 #328017
tetradic
#173280 #801767 #806517 #178030
square
#173280 #801767 #806517 #178030
split-complementary
#173280 #803017 #678017
monochromatic
#050A1A #0E1E4C #173280 #2046B4 #3661DB

Accessibility & contrast

On white

11.64
#173280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#173280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173280
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173280#FFFFFF#000000##FFFFFF
##1732801.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173280;
/* rgb */ color: rgb(23, 50, 128);
/* oklch */ color: oklch(35.0% 0.136 265.3);
Tailwind
colors: {
  custom: {
    50: '#6769a6',
    500: '#173280',
    950: '#000000',
  },
}
SCSS
$custom: #173280;
$custom-light: #6769a6;
$custom-dark: #000000;
JSON
{
  "hex": "#173280",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 128
  },
  "hsl": {
    "h": 224.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35031,
    "c": 0.13591,
    "h": 265.3
  },
  "luminance": 0.04022
}

Semantic roles & 50–950 ramp

primary
#173280
secondary
#B4963E
accent
#BF3BEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #173280

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

Preview Lab → · Contrast checker → · Palette generator →

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