#171670#171670

#171670 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.147 H 272.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#171670
RGBrgb(23, 22, 112)
HSLhsl(241, 67%, 26%)
HSVhsv(241, 80%, 44%)
CMYKcmyk(79.5%, 80.4%, 0%, 56.1%)
CIE-LABlab(15.09, 33.34, -50.85)
CIE-LCHlch(15.09, 60.80, 303.25°)
OKLaboklab(28.24% 0.0058 -0.1472)
OKLCHoklch(28.24% 0.147 272.2)
XYZxyz(3.5639, 1.9254, 15.5099)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171670 #6F7016
analogous
#164270 #171670 #441670
triadic
#171670 #701716 #167017
tetradic
#171670 #701642 #6F7016 #167044
square
#171670 #701642 #6F7016 #167044
split-complementary
#171670 #704416 #427016
monochromatic
#05051A #0C0C3D #171670 #2220A3 #2D2BD5

Accessibility & contrast

On white

15.16
#171670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#171670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171670
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171670#FFFFFF#000000##FFFFFF
##1716701.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00216E
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #171670;
/* rgb */ color: rgb(23, 22, 112);
/* oklch */ color: oklch(28.2% 0.147 272.2);
Tailwind
colors: {
  custom: {
    50: '#66559a',
    500: '#171670',
    950: '#000000',
  },
}
SCSS
$custom: #171670;
$custom-light: #66559a;
$custom-dark: #000000;
JSON
{
  "hex": "#171670",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 240.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28235,
    "c": 0.14728,
    "h": 272.2
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#171670
secondary
#A5A63C
accent
#EA3EE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171670

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

Preview Lab → · Contrast checker → · Palette generator →

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