#17237E#17237E

#17237E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.152 H 269.1°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#17237E
RGBrgb(23, 35, 126)
HSLhsl(233, 69%, 29%)
HSVhsv(233, 82%, 49%)
CMYKcmyk(81.7%, 72.2%, 0%, 50.6%)
CIE-LABlab(19.60, 30.33, -52.40)
CIE-LCHlch(19.60, 60.54, 300.07°)
OKLaboklab(31.92% -0.0024 -0.1518)
OKLCHoklch(31.92% 0.152 269.1)
XYZxyz(4.7190, 2.8900, 20.0437)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17237E #7E7217
analogous
#17577E #17237E #3F177E
triadic
#17237E #7E1723 #237E17
tetradic
#17237E #7E1757 #7E7217 #177E3F
square
#17237E #7E1757 #7E7217 #177E3F
split-complementary
#17237E #7E3F17 #577E17
monochromatic
#05071A #0E154A #17237E #2031B2 #3548DA

Accessibility & contrast

On white

13.31
#17237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#17237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17237E
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17237E#FFFFFF#000000##FFFFFF
##17237E1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17237e;
/* rgb */ color: rgb(23, 35, 126);
/* oklch */ color: oklch(31.9% 0.152 269.1);
Tailwind
colors: {
  custom: {
    50: '#685ea4',
    500: '#17237e',
    950: '#000000',
  },
}
SCSS
$custom: #17237e;
$custom-light: #685ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#17237e",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 233.01,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31922,
    "c": 0.15178,
    "h": 269.1
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#17237E
secondary
#B3A53E
accent
#D73CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17237E

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

Preview Lab → · Contrast checker → · Palette generator →

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