#17236B#17236B

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

Color values

HEX#17236B
RGBrgb(23, 35, 107)
HSLhsl(231, 65%, 25%)
HSVhsv(231, 79%, 42%)
CMYKcmyk(78.5%, 67.3%, 0%, 58%)
CIE-LABlab(17.67, 22.90, -43.35)
CIE-LCHlch(17.67, 49.02, 297.85°)
OKLaboklab(29.93% -0.0008 -0.1253)
OKLCHoklch(29.93% 0.125 269.6)
XYZxyz(3.6073, 2.4454, 14.1890)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17236B #6B5F17
analogous
#174D6B #17236B #35176B
triadic
#17236B #6B1723 #236B17
tetradic
#17236B #6B174D #6B5F17 #176B35
square
#17236B #6B174D #6B5F17 #176B35
split-complementary
#17236B #6B3517 #4D6B17
monochromatic
#050819 #0C1339 #17236B #22339D #2D44D0

Accessibility & contrast

On white

14.10
#17236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17236B
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17236B#FFFFFF#000000##FFFFFF
##17236B1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17236b;
/* rgb */ color: rgb(23, 35, 107);
/* oklch */ color: oklch(29.9% 0.125 269.6);
Tailwind
colors: {
  custom: {
    50: '#635d96',
    500: '#17236b',
    950: '#000000',
  },
}
SCSS
$custom: #17236b;
$custom-light: #635d96;
$custom-dark: #000000;
JSON
{
  "hex": "#17236b",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 231.429,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29931,
    "c": 0.12532,
    "h": 269.6
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#17236B
secondary
#A1933D
accent
#D040E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #17236B

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

Preview Lab → · Contrast checker → · Palette generator →

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