#17308D#17308D

#17308D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.157 H 266.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#17308D
RGBrgb(23, 48, 141)
HSLhsl(227, 72%, 32%)
HSVhsv(227, 84%, 55%)
CMYKcmyk(83.7%, 66%, 0%, 44.7%)
CIE-LABlab(24.38, 27.40, -53.95)
CIE-LCHlch(24.38, 60.51, 296.92°)
OKLaboklab(35.87% -0.01 -0.1562)
OKLCHoklch(35.87% 0.157 266.3)
XYZxyz(6.2163, 4.2184, 25.6807)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17308D #8D7417
analogous
#176B8D #17308D #39178D
triadic
#17308D #8D1730 #308D17
tetradic
#17308D #8D176B #8D7417 #178D39
square
#17308D #8D176B #8D7417 #178D39
split-complementary
#17308D #8D3917 #6B8D17
monochromatic
#060C24 #0E1E58 #17308D #2042C2 #3F61E0

Accessibility & contrast

On white

11.39
#17308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#17308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17308D
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17308D#FFFFFF#000000##FFFFFF
##17308D1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #17308d;
/* rgb */ color: rgb(23, 48, 141);
/* oklch */ color: oklch(35.9% 0.157 266.3);
Tailwind
colors: {
  custom: {
    50: '#6b68af',
    500: '#17308d',
    950: '#000000',
  },
}
SCSS
$custom: #17308d;
$custom-light: #6b68af;
$custom-dark: #000000;
JSON
{
  "hex": "#17308d",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 227.288,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3587,
    "c": 0.15654,
    "h": 266.3
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#17308D
secondary
#C0A540
accent
#C839EF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #17308D

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

Preview Lab → · Contrast checker → · Palette generator →

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