#17267F#17267F

#17267F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.150 H 268.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#17267F
RGBrgb(23, 38, 127)
HSLhsl(231, 69%, 29%)
HSVhsv(231, 82%, 50%)
CMYKcmyk(81.9%, 70.1%, 0%, 50.2%)
CIE-LABlab(20.44, 28.71, -51.64)
CIE-LCHlch(20.44, 59.09, 299.07°)
OKLaboklab(32.56% -0.004 -0.1496)
OKLCHoklch(32.56% 0.15 268.5)
XYZxyz(4.8759, 3.1001, 20.4160)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17267F #7F7017
analogous
#175A7F #17267F #3C177F
triadic
#17267F #7F1726 #267F17
tetradic
#17267F #7F175A #7F7017 #177F3C
square
#17267F #7F175A #7F7017 #177F3C
split-complementary
#17267F #7F3C17 #5A7F17
monochromatic
#05081A #0E164B #17267F #2036B3 #364EDB

Accessibility & contrast

On white

12.96
#17267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#17267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17267F
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17267F#FFFFFF#000000##FFFFFF
##17267F1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #17267f;
/* rgb */ color: rgb(23, 38, 127);
/* oklch */ color: oklch(32.6% 0.150 268.5);
Tailwind
colors: {
  custom: {
    50: '#6860a5',
    500: '#17267f',
    950: '#000000',
  },
}
SCSS
$custom: #17267f;
$custom-light: #6860a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17267f",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 231.346,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32564,
    "c": 0.14961,
    "h": 268.5
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#17267F
secondary
#B4A33E
accent
#D33CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17267F

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

Preview Lab → · Contrast checker → · Palette generator →

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