#17206E#17206E

#17206E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.133 H 270.4°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#17206E
RGBrgb(23, 32, 110)
HSLhsl(234, 65%, 26%)
HSVhsv(234, 79%, 43%)
CMYKcmyk(79.1%, 70.9%, 0%, 56.9%)
CIE-LABlab(17.18, 26.18, -46.10)
CIE-LCHlch(17.18, 53.01, 299.59°)
OKLaboklab(29.67% 0.0009 -0.1334)
OKLCHoklch(29.67% 0.133 270.4)
XYZxyz(3.6834, 2.3406, 15.0065)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17206E #6E6517
analogous
#174B6E #17206E #39176E
triadic
#17206E #6E1720 #206E17
tetradic
#17206E #6E174B #6E6517 #176E39
square
#17206E #6E174B #6E6517 #176E39
split-complementary
#17206E #6E3917 #4B6E17
monochromatic
#050719 #0C113B #17206E #222FA1 #2C3ED3

Accessibility & contrast

On white

14.30
#17206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17206E
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17206E#FFFFFF#000000##FFFFFF
##17206E1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17206e;
/* rgb */ color: rgb(23, 32, 110);
/* oklch */ color: oklch(29.7% 0.133 270.4);
Tailwind
colors: {
  custom: {
    50: '#645b98',
    500: '#17206e',
    950: '#000000',
  },
}
SCSS
$custom: #17206e;
$custom-light: #645b98;
$custom-dark: #000000;
JSON
{
  "hex": "#17206e",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 233.793,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29666,
    "c": 0.13339,
    "h": 270.4
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#17206E
secondary
#A4993D
accent
#D73FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17206E

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

Preview Lab → · Contrast checker → · Palette generator →

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