#17237D#17237D

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

Color values

HEX#17237D
RGBrgb(23, 35, 125)
HSLhsl(233, 69%, 29%)
HSVhsv(233, 82%, 49%)
CMYKcmyk(81.6%, 72%, 0%, 51%)
CIE-LABlab(19.49, 29.95, -51.93)
CIE-LCHlch(19.49, 59.95, 299.97°)
OKLaboklab(31.81% -0.0022 -0.1504)
OKLCHoklch(31.81% 0.15 269.1)
XYZxyz(4.6548, 2.8644, 19.7056)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17237D #7D7117
analogous
#17567D #17237D #3E177D
triadic
#17237D #7D1723 #237D17
tetradic
#17237D #7D1756 #7D7117 #177D3E
square
#17237D #7D1756 #7D7117 #177D3E
split-complementary
#17237D #7D3E17 #567D17
monochromatic
#05071A #0D1549 #17237D #2131B1 #3548DA

Accessibility & contrast

On white

13.35
#17237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17237D
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17237D#FFFFFF#000000##FFFFFF
##17237D1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17237d;
/* rgb */ color: rgb(23, 35, 125);
/* oklch */ color: oklch(31.8% 0.150 269.1);
Tailwind
colors: {
  custom: {
    50: '#685ea4',
    500: '#17237d',
    950: '#000000',
  },
}
SCSS
$custom: #17237d;
$custom-light: #685ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#17237d",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 232.941,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31814,
    "c": 0.15043,
    "h": 269.1
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17237D

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

Preview Lab → · Contrast checker → · Palette generator →

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