#17267E#17267E

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

Color values

HEX#17267E
RGBrgb(23, 38, 126)
HSLhsl(231, 69%, 29%)
HSVhsv(231, 82%, 49%)
CMYKcmyk(81.7%, 69.8%, 0%, 50.6%)
CIE-LABlab(20.34, 28.33, -51.18)
CIE-LCHlch(20.34, 58.49, 298.96°)
OKLaboklab(32.46% -0.0039 -0.1482)
OKLCHoklch(32.46% 0.148 268.5)
XYZxyz(4.8111, 3.0742, 20.0744)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17267E #7E6F17
analogous
#175A7E #17267E #3C177E
triadic
#17267E #7E1726 #267E17
tetradic
#17267E #7E175A #7E6F17 #177E3C
square
#17267E #7E175A #7E6F17 #177E3C
split-complementary
#17267E #7E3C17 #5A7E17
monochromatic
#05081A #0E164A #17267E #2036B2 #354DDA

Accessibility & contrast

On white

13.00
#17267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17267E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17267E#FFFFFF#000000##FFFFFF
##17267E1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17267e;
/* rgb */ color: rgb(23, 38, 126);
/* oklch */ color: oklch(32.5% 0.148 268.5);
Tailwind
colors: {
  custom: {
    50: '#6860a4',
    500: '#17267e',
    950: '#000000',
  },
}
SCSS
$custom: #17267e;
$custom-light: #6860a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17267e",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 231.262,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32459,
    "c": 0.14824,
    "h": 268.5
  },
  "luminance": 0.03075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17267E

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

Preview Lab → · Contrast checker → · Palette generator →

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