#17237A#17237A

#17237A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.146 H 269.2°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#17237A
RGBrgb(23, 35, 122)
HSLhsl(233, 68%, 28%)
HSVhsv(233, 81%, 48%)
CMYKcmyk(81.1%, 71.3%, 0%, 52.2%)
CIE-LABlab(19.18, 28.80, -50.54)
CIE-LCHlch(19.18, 58.17, 299.67°)
OKLaboklab(31.49% -0.0019 -0.1463)
OKLCHoklch(31.49% 0.146 269.2)
XYZxyz(4.4660, 2.7889, 18.7115)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17237A #7A6E17
analogous
#17547A #17237A #3C177A
triadic
#17237A #7A1723 #237A17
tetradic
#17237A #7A1754 #7A6E17 #177A3C
square
#17237A #7A1754 #7A6E17 #177A3C
split-complementary
#17237A #7A3C17 #547A17
monochromatic
#05071A #0D1447 #17237A #2132AD #3347D9

Accessibility & contrast

On white

13.48
#17237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#17237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17237A
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17237A#FFFFFF#000000##FFFFFF
##17237A1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17237a;
/* rgb */ color: rgb(23, 35, 122);
/* oklch */ color: oklch(31.5% 0.146 269.2);
Tailwind
colors: {
  custom: {
    50: '#675ea1',
    500: '#17237a',
    950: '#000000',
  },
}
SCSS
$custom: #17237a;
$custom-light: #675ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#17237a",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 232.727,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31491,
    "c": 0.14636,
    "h": 269.2
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#17237A
secondary
#AFA13E
accent
#D63DEB
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17237A

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

Preview Lab → · Contrast checker → · Palette generator →

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