#173183#173183

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

Color values

HEX#173183
RGBrgb(23, 49, 131)
HSLhsl(226, 70%, 30%)
HSVhsv(226, 82%, 51%)
CMYKcmyk(82.4%, 62.6%, 0%, 48.6%)
CIE-LABlab(23.73, 22.71, -48.78)
CIE-LCHlch(23.73, 53.80, 294.96°)
OKLaboklab(35.1% -0.0105 -0.1411)
OKLCHoklch(35.1% 0.141 265.8)
XYZxyz(5.5470, 4.0168, 21.9513)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173183 #836917
analogous
#176783 #173183 #331783
triadic
#173183 #831731 #318317
tetradic
#173183 #831767 #836917 #178333
square
#173183 #831767 #836917 #178333
split-complementary
#173183 #833317 #678317
monochromatic
#050A1B #0E1E4F #173183 #2044B7 #3860DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173183#FFFFFF#000000##FFFFFF
##1731831.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)
#003E86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173183;
/* rgb */ color: rgb(23, 49, 131);
/* oklch */ color: oklch(35.1% 0.141 265.8);
Tailwind
colors: {
  custom: {
    50: '#6868a8',
    500: '#173183',
    950: '#000000',
  },
}
SCSS
$custom: #173183;
$custom-light: #6868a8;
$custom-dark: #000000;
JSON
{
  "hex": "#173183",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 225.556,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35102,
    "c": 0.14145,
    "h": 265.8
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#173183
secondary
#B79A3F
accent
#C23BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #173183

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

Preview Lab → · Contrast checker → · Palette generator →

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