#17267D#17267D

#17267D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.147 H 268.5°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#17267D
RGBrgb(23, 38, 125)
HSLhsl(231, 69%, 29%)
HSVhsv(231, 82%, 49%)
CMYKcmyk(81.6%, 69.6%, 0%, 51%)
CIE-LABlab(20.24, 27.94, -50.71)
CIE-LCHlch(20.24, 57.90, 298.85°)
OKLaboklab(32.36% -0.0038 -0.1468)
OKLCHoklch(32.36% 0.147 268.5)
XYZxyz(4.7469, 3.0485, 19.7363)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17267D #7D6E17
analogous
#17597D #17267D #3B177D
triadic
#17267D #7D1726 #267D17
tetradic
#17267D #7D1759 #7D6E17 #177D3B
square
#17267D #7D1759 #7D6E17 #177D3B
split-complementary
#17267D #7D3B17 #597D17
monochromatic
#05081A #0D1649 #17267D #2136B1 #354DDA

Accessibility & contrast

On white

13.05
#17267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#17267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17267D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17267D#FFFFFF#000000##FFFFFF
##17267D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #17267d;
/* rgb */ color: rgb(23, 38, 125);
/* oklch */ color: oklch(32.4% 0.147 268.5);
Tailwind
colors: {
  custom: {
    50: '#6760a4',
    500: '#17267d',
    950: '#000000',
  },
}
SCSS
$custom: #17267d;
$custom-light: #6760a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17267d",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 231.176,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32355,
    "c": 0.14688,
    "h": 268.5
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#17267D
secondary
#B2A13E
accent
#D23CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17267D

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

Preview Lab → · Contrast checker → · Palette generator →

#17267D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva