#17236D#17236D

#17236D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.128 H 269.6°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#17236D
RGBrgb(23, 35, 109)
HSLhsl(232, 65%, 26%)
HSVhsv(232, 79%, 43%)
CMYKcmyk(78.9%, 67.9%, 0%, 57.3%)
CIE-LABlab(17.86, 23.70, -44.33)
CIE-LCHlch(17.86, 50.27, 298.13°)
OKLaboklab(30.13% -0.0009 -0.1282)
OKLCHoklch(30.13% 0.128 269.6)
XYZxyz(3.7138, 2.4879, 14.7495)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17236D #6D6117
analogous
#174E6D #17236D #36176D
triadic
#17236D #6D1723 #236D17
tetradic
#17236D #6D174E #6D6117 #176D36
square
#17236D #6D174E #6D6117 #176D36
split-complementary
#17236D #6D3617 #4E6D17
monochromatic
#050819 #0C133A #17236D #2233A0 #2C43D2

Accessibility & contrast

On white

14.02
#17236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#17236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17236D
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17236D#FFFFFF#000000##FFFFFF
##17236D1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17236d;
/* rgb */ color: rgb(23, 35, 109);
/* oklch */ color: oklch(30.1% 0.128 269.6);
Tailwind
colors: {
  custom: {
    50: '#635d98',
    500: '#17236d',
    950: '#000000',
  },
}
SCSS
$custom: #17236d;
$custom-light: #635d98;
$custom-dark: #000000;
JSON
{
  "hex": "#17236d",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 231.628,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30133,
    "c": 0.12819,
    "h": 269.6
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#17236D
secondary
#A3953D
accent
#D140E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17236D

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

Preview Lab → · Contrast checker → · Palette generator →

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