#17236E#17236E

#17236E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.130 H 269.6°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#17236E
RGBrgb(23, 35, 110)
HSLhsl(232, 65%, 26%)
HSVhsv(232, 79%, 43%)
CMYKcmyk(79.1%, 68.2%, 0%, 56.9%)
CIE-LABlab(17.96, 24.10, -44.82)
CIE-LCHlch(17.96, 50.89, 298.27°)
OKLaboklab(30.24% -0.001 -0.1296)
OKLCHoklch(30.24% 0.13 269.6)
XYZxyz(3.7679, 2.5096, 15.0347)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17236E #6E6217
analogous
#174E6E #17236E #36176E
triadic
#17236E #6E1723 #236E17
tetradic
#17236E #6E174E #6E6217 #176E36
square
#17236E #6E174E #6E6217 #176E36
split-complementary
#17236E #6E3617 #4E6E17
monochromatic
#050819 #0C133B #17236E #2233A1 #2C43D3

Accessibility & contrast

On white

13.98
#17236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#17236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17236E
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17236E#FFFFFF#000000##FFFFFF
##17236E1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17236e;
/* rgb */ color: rgb(23, 35, 110);
/* oklch */ color: oklch(30.2% 0.130 269.6);
Tailwind
colors: {
  custom: {
    50: '#645d98',
    500: '#17236e',
    950: '#000000',
  },
}
SCSS
$custom: #17236e;
$custom-light: #645d98;
$custom-dark: #000000;
JSON
{
  "hex": "#17236e",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 231.724,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30235,
    "c": 0.12962,
    "h": 269.6
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#17236E
secondary
#A4963D
accent
#D13FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17236E

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

Preview Lab → · Contrast checker → · Palette generator →

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