#173268#173268

#173268 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.100 H 262.3°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#173268
RGBrgb(23, 50, 104)
HSLhsl(220, 64%, 25%)
HSVhsv(220, 78%, 41%)
CMYKcmyk(77.9%, 51.9%, 0%, 59.2%)
CIE-LABlab(21.81, 10.83, -34.67)
CIE-LCHlch(21.81, 36.32, 287.35°)
OKLaboklab(32.96% -0.0134 -0.0996)
OKLCHoklch(32.96% 0.1 262.3)
XYZxyz(3.9917, 3.4624, 13.5520)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173268 #684D17
analogous
#175B68 #173268 #241768
triadic
#173268 #681732 #326817
tetradic
#173268 #68175B #684D17 #176824
square
#173268 #68175B #684D17 #176824
split-complementary
#173268 #682417 #5B6817
monochromatic
#060C19 #0C1A36 #173268 #224A9A #2D62CC

Accessibility & contrast

On white

12.41
#173268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#173268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173268
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173268#FFFFFF#000000##FFFFFF
##1732681.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13386A
Deuteranopia (green-blind)
#003167
Tritanopia (blue-blind)
#003F48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173268;
/* rgb */ color: rgb(23, 50, 104);
/* oklch */ color: oklch(33.0% 0.100 262.3);
Tailwind
colors: {
  custom: {
    50: '#616993',
    500: '#173268',
    950: '#000000',
  },
}
SCSS
$custom: #173268;
$custom-light: #616993;
$custom-dark: #000000;
JSON
{
  "hex": "#173268",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 104
  },
  "hsl": {
    "h": 220,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32959,
    "c": 0.10047,
    "h": 262.3
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#173268
secondary
#9E7E3D
accent
#B041E7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #173268

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

Preview Lab → · Contrast checker → · Palette generator →

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