#171775#171775

#171775 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.153 H 271.6°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#171775
RGBrgb(23, 23, 117)
HSLhsl(240, 67%, 27%)
HSVhsv(240, 80%, 46%)
CMYKcmyk(80.3%, 80.3%, 0%, 54.1%)
CIE-LABlab(15.90, 34.52, -52.75)
CIE-LCHlch(15.90, 63.04, 303.20°)
OKLaboklab(28.98% 0.0043 -0.1527)
OKLCHoklch(28.98% 0.153 271.6)
XYZxyz(3.8695, 2.0789, 17.0235)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171775 #757517
analogous
#174675 #171775 #461775
triadic
#171775 #751717 #177517
tetradic
#171775 #751746 #757517 #177546
square
#171775 #751746 #757517 #177546
split-complementary
#171775 #754617 #467517
monochromatic
#05051A #0D0D42 #171775 #2121A8 #3030D6

Accessibility & contrast

On white

14.83
#171775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#171775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171775
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171775#FFFFFF#000000##FFFFFF
##1717751.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002373
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #171775;
/* rgb */ color: rgb(23, 23, 117);
/* oklch */ color: oklch(29.0% 0.153 271.6);
Tailwind
colors: {
  custom: {
    50: '#67569e',
    500: '#171775',
    950: '#000000',
  },
}
SCSS
$custom: #171775;
$custom-light: #67569e;
$custom-dark: #000000;
JSON
{
  "hex": "#171775",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 240,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.28978,
    "c": 0.15277,
    "h": 271.6
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#171775
secondary
#AAAA3D
accent
#EA3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171775

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

Preview Lab → · Contrast checker → · Palette generator →

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