#171E67#171E67

#171E67 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.126 H 271.3°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#171E67
RGBrgb(23, 30, 103)
HSLhsl(235, 63%, 25%)
HSVhsv(235, 78%, 40%)
CMYKcmyk(77.7%, 70.9%, 0%, 59.6%)
CIE-LABlab(15.95, 24.82, -43.55)
CIE-LCHlch(15.95, 50.12, 299.68°)
OKLaboklab(28.55% 0.0029 -0.1259)
OKLCHoklch(28.55% 0.126 271.3)
XYZxyz(3.2650, 2.0896, 13.0606)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E67 #676017
analogous
#174667 #171E67 #381767
triadic
#171E67 #67171E #1E6717
tetradic
#171E67 #671746 #676017 #176738
square
#171E67 #671746 #676017 #176738
split-complementary
#171E67 #673817 #466717
monochromatic
#060719 #0C0F35 #171E67 #222D99 #2D3BCB

Accessibility & contrast

On white

14.81
#171E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#171E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E67
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E67#FFFFFF#000000##FFFFFF
##171E671.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002466
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #171e67;
/* rgb */ color: rgb(23, 30, 103);
/* oklch */ color: oklch(28.6% 0.126 271.3);
Tailwind
colors: {
  custom: {
    50: '#625a93',
    500: '#171e67',
    950: '#000000',
  },
}
SCSS
$custom: #171e67;
$custom-light: #625a93;
$custom-dark: #000000;
JSON
{
  "hex": "#171e67",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 103
  },
  "hsl": {
    "h": 234.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28552,
    "c": 0.12597,
    "h": 271.3
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#171E67
secondary
#9D953D
accent
#D841E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171E67

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

Preview Lab → · Contrast checker → · Palette generator →

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