#171B67#171B67

#171B67 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.130 H 272.1°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#171B67
RGBrgb(23, 27, 103)
HSLhsl(237, 63%, 25%)
HSVhsv(237, 78%, 40%)
CMYKcmyk(77.7%, 73.8%, 0%, 59.6%)
CIE-LABlab(15.20, 26.86, -44.79)
CIE-LCHlch(15.20, 52.23, 300.95°)
OKLaboklab(28.01% 0.0048 -0.1296)
OKLCHoklch(28.01% 0.13 272.1)
XYZxyz(3.1926, 1.9450, 13.0365)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171B67 #676317
analogous
#174367 #171B67 #3B1767
triadic
#171B67 #67171B #1B6717
tetradic
#171B67 #671743 #676317 #17673B
square
#171B67 #671743 #676317 #17673B
split-complementary
#171B67 #673B17 #436717
monochromatic
#060719 #0C0E35 #171B67 #222899 #2D35CB

Accessibility & contrast

On white

15.12
#171B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#171B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171B67
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171B67#FFFFFF#000000##FFFFFF
##171B671.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002266
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #171b67;
/* rgb */ color: rgb(23, 27, 103);
/* oklch */ color: oklch(28.0% 0.130 272.1);
Tailwind
colors: {
  custom: {
    50: '#625893',
    500: '#171b67',
    950: '#000000',
  },
}
SCSS
$custom: #171b67;
$custom-light: #625893;
$custom-dark: #000000;
JSON
{
  "hex": "#171b67",
  "rgb": {
    "r": 23,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 237,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28005,
    "c": 0.12966,
    "h": 272.1
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#171B67
secondary
#9D983D
accent
#DE41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171B67

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

Preview Lab → · Contrast checker → · Palette generator →

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