#17267B#17267B

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

Color values

HEX#17267B
RGBrgb(23, 38, 123)
HSLhsl(231, 68%, 29%)
HSVhsv(231, 81%, 48%)
CMYKcmyk(81.3%, 69.1%, 0%, 51.8%)
CIE-LABlab(20.04, 27.16, -49.77)
CIE-LCHlch(20.04, 56.70, 298.62°)
OKLaboklab(32.15% -0.0037 -0.1441)
OKLCHoklch(32.15% 0.144 268.5)
XYZxyz(4.6204, 2.9979, 19.0702)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17267B #7B6C17
analogous
#17587B #17267B #3A177B
triadic
#17267B #7B1726 #267B17
tetradic
#17267B #7B1758 #7B6C17 #177B3A
square
#17267B #7B1758 #7B6C17 #177B3A
split-complementary
#17267B #7B3A17 #587B17
monochromatic
#05081A #0D1647 #17267B #2136AF #334CD9

Accessibility & contrast

On white

13.13
#17267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#17267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17267B
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17267B#FFFFFF#000000##FFFFFF
##17267B1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #17267b;
/* rgb */ color: rgb(23, 38, 123);
/* oklch */ color: oklch(32.1% 0.144 268.5);
Tailwind
colors: {
  custom: {
    50: '#6760a2',
    500: '#17267b',
    950: '#000000',
  },
}
SCSS
$custom: #17267b;
$custom-light: #6760a2;
$custom-dark: #000000;
JSON
{
  "hex": "#17267b",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 231,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32146,
    "c": 0.14413,
    "h": 268.5
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#17267B
secondary
#B09F3E
accent
#D13CEB
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17267B

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

Preview Lab → · Contrast checker → · Palette generator →

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