#173883#173883

#173883 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.132 H 263.4°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#173883
RGBrgb(23, 56, 131)
HSLhsl(222, 70%, 30%)
HSVhsv(222, 82%, 51%)
CMYKcmyk(82.4%, 57.3%, 0%, 48.6%)
CIE-LABlab(25.71, 17.78, -45.55)
CIE-LCHlch(25.71, 48.89, 291.32°)
OKLaboklab(36.59% -0.0153 -0.1315)
OKLCHoklch(36.59% 0.132 263.4)
XYZxyz(5.8628, 4.6485, 22.0566)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173883 #836217
analogous
#176E83 #173883 #2C1783
triadic
#173883 #831738 #388317
tetradic
#173883 #83176E #836217 #17832C
square
#173883 #83176E #836217 #17832C
split-complementary
#173883 #832C17 #6E8317
monochromatic
#050B1B #0E224F #173883 #204EB7 #386ADC

Accessibility & contrast

On white

10.88
#173883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#173883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173883
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173883#FFFFFF#000000##FFFFFF
##1738831.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173883;
/* rgb */ color: rgb(23, 56, 131);
/* oklch */ color: oklch(36.6% 0.132 263.4);
Tailwind
colors: {
  custom: {
    50: '#686ea8',
    500: '#173883',
    950: '#000000',
  },
}
SCSS
$custom: #173883;
$custom-light: #686ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#173883",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 131
  },
  "hsl": {
    "h": 221.667,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36588,
    "c": 0.13234,
    "h": 263.4
  },
  "luminance": 0.04649
}

Semantic roles & 50–950 ramp

primary
#173883
secondary
#B7923F
accent
#B73BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173883

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

Preview Lab → · Contrast checker → · Palette generator →

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