#17237C#17237C

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

Color values

HEX#17237C
RGBrgb(23, 35, 124)
HSLhsl(233, 69%, 29%)
HSVhsv(233, 81%, 49%)
CMYKcmyk(81.5%, 71.8%, 0%, 51.4%)
CIE-LABlab(19.39, 29.57, -51.47)
CIE-LCHlch(19.39, 59.36, 299.87°)
OKLaboklab(31.71% -0.0021 -0.1491)
OKLCHoklch(31.71% 0.149 269.2)
XYZxyz(4.5912, 2.8389, 19.3709)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17237C #7C7017
analogous
#17567C #17237C #3E177C
triadic
#17237C #7C1723 #237C17
tetradic
#17237C #7C1756 #7C7017 #177C3E
square
#17237C #7C1756 #7C7017 #177C3E
split-complementary
#17237C #7C3E17 #567C17
monochromatic
#05071A #0D1448 #17237C #2132B0 #3448D9

Accessibility & contrast

On white

13.39
#17237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#17237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17237C
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17237C#FFFFFF#000000##FFFFFF
##17237C1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17237c;
/* rgb */ color: rgb(23, 35, 124);
/* oklch */ color: oklch(31.7% 0.149 269.2);
Tailwind
colors: {
  custom: {
    50: '#675ea3',
    500: '#17237c',
    950: '#000000',
  },
}
SCSS
$custom: #17237c;
$custom-light: #675ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#17237c",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 232.871,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31706,
    "c": 0.14908,
    "h": 269.2
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17237C

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

Preview Lab → · Contrast checker → · Palette generator →

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