#17237B#17237B

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

Color values

HEX#17237B
RGBrgb(23, 35, 123)
HSLhsl(233, 68%, 29%)
HSVhsv(233, 81%, 48%)
CMYKcmyk(81.3%, 71.5%, 0%, 51.8%)
CIE-LABlab(19.28, 29.18, -51.01)
CIE-LCHlch(19.28, 58.77, 299.77°)
OKLaboklab(31.6% -0.002 -0.1477)
OKLCHoklch(31.6% 0.148 269.2)
XYZxyz(4.5283, 2.8138, 19.0395)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17237B #7B6F17
analogous
#17557B #17237B #3D177B
triadic
#17237B #7B1723 #237B17
tetradic
#17237B #7B1755 #7B6F17 #177B3D
square
#17237B #7B1755 #7B6F17 #177B3D
split-complementary
#17237B #7B3D17 #557B17
monochromatic
#05071A #0D1447 #17237B #2132AF #3347D9

Accessibility & contrast

On white

13.44
#17237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17237B
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17237B#FFFFFF#000000##FFFFFF
##17237B1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17237b;
/* rgb */ color: rgb(23, 35, 123);
/* oklch */ color: oklch(31.6% 0.148 269.2);
Tailwind
colors: {
  custom: {
    50: '#675ea2',
    500: '#17237b',
    950: '#000000',
  },
}
SCSS
$custom: #17237b;
$custom-light: #675ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#17237b",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 232.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31598,
    "c": 0.14772,
    "h": 269.2
  },
  "luminance": 0.02814
}

Semantic roles & 50–950 ramp

primary
#17237B
secondary
#B0A23E
accent
#D63CEB
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17237B

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

Preview Lab → · Contrast checker → · Palette generator →

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