#17267A#17267A

#17267A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.143 H 268.6°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#17267A
RGBrgb(23, 38, 122)
HSLhsl(231, 68%, 28%)
HSVhsv(231, 81%, 48%)
CMYKcmyk(81.1%, 68.9%, 0%, 52.2%)
CIE-LABlab(19.94, 26.76, -49.30)
CIE-LCHlch(19.94, 56.09, 298.50°)
OKLaboklab(32.04% -0.0036 -0.1427)
OKLCHoklch(32.04% 0.143 268.6)
XYZxyz(4.5581, 2.9730, 18.7422)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17267A #7A6B17
analogous
#17577A #17267A #39177A
triadic
#17267A #7A1726 #267A17
tetradic
#17267A #7A1757 #7A6B17 #177A39
square
#17267A #7A1757 #7A6B17 #177A39
split-complementary
#17267A #7A3917 #577A17
monochromatic
#05081A #0D1647 #17267A #2136AD #334CD9

Accessibility & contrast

On white

13.17
#17267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#17267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17267A
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17267A#FFFFFF#000000##FFFFFF
##17267A1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #17267a;
/* rgb */ color: rgb(23, 38, 122);
/* oklch */ color: oklch(32.0% 0.143 268.6);
Tailwind
colors: {
  custom: {
    50: '#6760a1',
    500: '#17267a',
    950: '#000000',
  },
}
SCSS
$custom: #17267a;
$custom-light: #6760a1;
$custom-dark: #000000;
JSON
{
  "hex": "#17267a",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 230.909,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32043,
    "c": 0.14275,
    "h": 268.6
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#17267A
secondary
#AF9E3E
accent
#D13DEB
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17267A

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

Preview Lab → · Contrast checker → · Palette generator →

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