#17268E#17268E

#17268E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.169 H 268.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#17268E
RGBrgb(23, 38, 142)
HSLhsl(232, 72%, 32%)
HSVhsv(232, 84%, 56%)
CMYKcmyk(83.8%, 73.2%, 0%, 44.3%)
CIE-LABlab(22.02, 34.40, -58.46)
CIE-LCHlch(22.02, 67.83, 300.48°)
OKLaboklab(34.18% -0.0054 -0.1694)
OKLCHoklch(34.18% 0.169 268.2)
XYZxyz(5.9273, 3.5207, 25.9531)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17268E #8E7F17
analogous
#17628E #17268E #44178E
triadic
#17268E #8E1726 #268E17
tetradic
#17268E #8E1762 #8E7F17 #178E44
square
#17268E #8E1762 #8E7F17 #178E44
split-complementary
#17268E #8E4417 #628E17
monochromatic
#060A25 #0E1859 #17268E #2034C3 #3F54E0

Accessibility & contrast

On white

12.32
#17268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#17268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17268E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17268E#FFFFFF#000000##FFFFFF
##17268E1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #17268e;
/* rgb */ color: rgb(23, 38, 142);
/* oklch */ color: oklch(34.2% 0.169 268.2);
Tailwind
colors: {
  custom: {
    50: '#6c61b0',
    500: '#17268e',
    950: '#000000',
  },
}
SCSS
$custom: #17268e;
$custom-light: #6c61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17268e",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 232.437,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3418,
    "c": 0.16949,
    "h": 268.2
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#17268E
secondary
#C0B040
accent
#D839EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #17268E

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

Preview Lab → · Contrast checker → · Palette generator →

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