#17236A#17236A

#17236A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.124 H 269.6°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#17236A
RGBrgb(23, 35, 106)
HSLhsl(231, 64%, 25%)
HSVhsv(231, 78%, 42%)
CMYKcmyk(78.3%, 67%, 0%, 58.4%)
CIE-LABlab(17.57, 22.50, -42.85)
CIE-LCHlch(17.57, 48.40, 297.70°)
OKLaboklab(29.83% -0.0008 -0.1239)
OKLCHoklch(29.83% 0.124 269.6)
XYZxyz(3.5550, 2.4245, 13.9135)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17236A #6A5E17
analogous
#174D6A #17236A #34176A
triadic
#17236A #6A1723 #236A17
tetradic
#17236A #6A174D #6A5E17 #176A34
square
#17236A #6A174D #6A5E17 #176A34
split-complementary
#17236A #6A3417 #4D6A17
monochromatic
#050819 #0C1238 #17236A #22349C #2D44CF

Accessibility & contrast

On white

14.14
#17236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#17236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17236A
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17236A#FFFFFF#000000##FFFFFF
##17236A1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17236a;
/* rgb */ color: rgb(23, 35, 106);
/* oklch */ color: oklch(29.8% 0.124 269.6);
Tailwind
colors: {
  custom: {
    50: '#625d95',
    500: '#17236a',
    950: '#000000',
  },
}
SCSS
$custom: #17236a;
$custom-light: #625d95;
$custom-dark: #000000;
JSON
{
  "hex": "#17236a",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 231.325,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.2983,
    "c": 0.12387,
    "h": 269.6
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#17236A
secondary
#A0923D
accent
#CF40E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #17236A

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

Preview Lab → · Contrast checker → · Palette generator →

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