#17237F#17237F

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

Color values

HEX#17237F
RGBrgb(23, 35, 127)
HSLhsl(233, 69%, 29%)
HSVhsv(233, 82%, 50%)
CMYKcmyk(81.9%, 72.4%, 0%, 50.2%)
CIE-LABlab(19.70, 30.71, -52.86)
CIE-LCHlch(19.70, 61.13, 300.16°)
OKLaboklab(32.03% -0.0025 -0.1531)
OKLCHoklch(32.03% 0.153 269.1)
XYZxyz(4.7838, 2.9160, 20.3853)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17237F #7F7317
analogous
#17577F #17237F #3F177F
triadic
#17237F #7F1723 #237F17
tetradic
#17237F #7F1757 #7F7317 #177F3F
square
#17237F #7F1757 #7F7317 #177F3F
split-complementary
#17237F #7F3F17 #577F17
monochromatic
#05071A #0E154B #17237F #2031B3 #3649DB

Accessibility & contrast

On white

13.26
#17237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17237F
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17237F#FFFFFF#000000##FFFFFF
##17237F1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #17237f;
/* rgb */ color: rgb(23, 35, 127);
/* oklch */ color: oklch(32.0% 0.153 269.1);
Tailwind
colors: {
  custom: {
    50: '#685ea5',
    500: '#17237f',
    950: '#000000',
  },
}
SCSS
$custom: #17237f;
$custom-light: #685ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#17237f",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 233.077,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32031,
    "c": 0.15312,
    "h": 269.1
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#17237F
secondary
#B4A63E
accent
#D83CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17237F

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

Preview Lab → · Contrast checker → · Palette generator →

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