#17206F#17206F

#17206F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.135 H 270.4°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#17206F
RGBrgb(23, 32, 111)
HSLhsl(234, 66%, 26%)
HSVhsv(234, 79%, 44%)
CMYKcmyk(79.3%, 71.2%, 0%, 56.5%)
CIE-LABlab(17.29, 26.57, -46.58)
CIE-LCHlch(17.29, 53.62, 299.70°)
OKLaboklab(29.77% 0.0008 -0.1348)
OKLCHoklch(29.77% 0.135 270.4)
XYZxyz(3.7381, 2.3625, 15.2948)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17206F #6F6617
analogous
#174C6F #17206F #3A176F
triadic
#17206F #6F1720 #206F17
tetradic
#17206F #6F174C #6F6617 #176F3A
square
#17206F #6F174C #6F6617 #176F3A
split-complementary
#17206F #6F3A17 #4C6F17
monochromatic
#050719 #0C113C #17206F #222FA2 #2D3ED3

Accessibility & contrast

On white

14.26
#17206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#17206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17206F
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17206F#FFFFFF#000000##FFFFFF
##17206F1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00266E
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17206f;
/* rgb */ color: rgb(23, 32, 111);
/* oklch */ color: oklch(29.8% 0.135 270.4);
Tailwind
colors: {
  custom: {
    50: '#645b99',
    500: '#17206f',
    950: '#000000',
  },
}
SCSS
$custom: #17206f;
$custom-light: #645b99;
$custom-dark: #000000;
JSON
{
  "hex": "#17206f",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 233.864,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29772,
    "c": 0.13479,
    "h": 270.4
  },
  "luminance": 0.02363
}

Semantic roles & 50–950 ramp

primary
#17206F
secondary
#A59A3D
accent
#D73FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17206F

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

Preview Lab → · Contrast checker → · Palette generator →

#17206F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva