#17308F#17308F

#17308F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.159 H 266.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#17308F
RGBrgb(23, 48, 143)
HSLhsl(228, 72%, 33%)
HSVhsv(228, 84%, 56%)
CMYKcmyk(83.9%, 66.4%, 0%, 43.9%)
CIE-LABlab(24.57, 28.18, -54.87)
CIE-LCHlch(24.57, 61.69, 297.18°)
OKLaboklab(36.07% -0.01 -0.1589)
OKLCHoklch(36.07% 0.159 266.4)
XYZxyz(6.3665, 4.2785, 26.4716)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17308F #8F7617
analogous
#176C8F #17308F #3A178F
triadic
#17308F #8F1730 #308F17
tetradic
#17308F #8F176C #8F7617 #178F3A
square
#17308F #8F176C #8F7617 #178F3A
split-complementary
#17308F #8F3A17 #6C8F17
monochromatic
#060D26 #0F1E5A #17308F #1F42C4 #4061E0

Accessibility & contrast

On white

11.32
#17308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#17308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17308F
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17308F#FFFFFF#000000##FFFFFF
##17308F1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #17308f;
/* rgb */ color: rgb(23, 48, 143);
/* oklch */ color: oklch(36.1% 0.159 266.4);
Tailwind
colors: {
  custom: {
    50: '#6c68b1',
    500: '#17308f',
    950: '#000000',
  },
}
SCSS
$custom: #17308f;
$custom-light: #6c68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#17308f",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 227.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36069,
    "c": 0.15925,
    "h": 266.4
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#17308F
secondary
#C1A641
accent
#C939EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #17308F

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

Preview Lab → · Contrast checker → · Palette generator →

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