#17236F#17236F

#17236F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.131 H 269.5°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#17236F
RGBrgb(23, 35, 111)
HSLhsl(232, 66%, 26%)
HSVhsv(232, 79%, 44%)
CMYKcmyk(79.3%, 68.5%, 0%, 56.5%)
CIE-LABlab(18.06, 24.50, -45.30)
CIE-LCHlch(18.06, 51.50, 298.40°)
OKLaboklab(30.34% -0.001 -0.131)
OKLCHoklch(30.34% 0.131 269.5)
XYZxyz(3.8226, 2.5315, 15.3230)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17236F #6F6317
analogous
#174F6F #17236F #37176F
triadic
#17236F #6F1723 #236F17
tetradic
#17236F #6F174F #6F6317 #176F37
square
#17236F #6F174F #6F6317 #176F37
split-complementary
#17236F #6F3717 #4F6F17
monochromatic
#050819 #0C133C #17236F #2233A2 #2D44D3

Accessibility & contrast

On white

13.94
#17236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#17236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17236F
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17236F#FFFFFF#000000##FFFFFF
##17236F1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17236f;
/* rgb */ color: rgb(23, 35, 111);
/* oklch */ color: oklch(30.3% 0.131 269.5);
Tailwind
colors: {
  custom: {
    50: '#645e99',
    500: '#17236f',
    950: '#000000',
  },
}
SCSS
$custom: #17236f;
$custom-light: #645e99;
$custom-dark: #000000;
JSON
{
  "hex": "#17236f",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 231.818,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30337,
    "c": 0.13105,
    "h": 269.5
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#17236F
secondary
#A5973D
accent
#D23FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17236F

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

Preview Lab → · Contrast checker → · Palette generator →

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