#171E75#171E75

#171E75 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.145 H 270.5°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#171E75
RGBrgb(23, 30, 117)
HSLhsl(236, 67%, 27%)
HSVhsv(236, 80%, 46%)
CMYKcmyk(80.3%, 74.4%, 0%, 54.1%)
CIE-LABlab(17.44, 30.20, -50.21)
CIE-LCHlch(17.44, 58.59, 301.02°)
OKLaboklab(30.07% 0.0012 -0.1454)
OKLCHoklch(30.07% 0.145 270.5)
XYZxyz(4.0274, 2.3946, 17.0761)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E75 #756E17
analogous
#174D75 #171E75 #3F1775
triadic
#171E75 #75171E #1E7517
tetradic
#171E75 #75174D #756E17 #17753F
square
#171E75 #75174D #756E17 #17753F
split-complementary
#171E75 #753F17 #4D7517
monochromatic
#05071A #0D1142 #171E75 #212BA8 #303CD6

Accessibility & contrast

On white

14.20
#171E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#171E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E75
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E75#FFFFFF#000000##FFFFFF
##171E751.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002673
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #171e75;
/* rgb */ color: rgb(23, 30, 117);
/* oklch */ color: oklch(30.1% 0.145 270.5);
Tailwind
colors: {
  custom: {
    50: '#665a9e',
    500: '#171e75',
    950: '#000000',
  },
}
SCSS
$custom: #171e75;
$custom-light: #665a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#171e75",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 235.532,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30073,
    "c": 0.14539,
    "h": 270.5
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

primary
#171E75
secondary
#AAA23D
accent
#DD3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #171E75

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

Preview Lab → · Contrast checker → · Palette generator →

#171E75 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva