#17418A#17418A

#17418A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.131 H 260.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#17418A
RGBrgb(23, 65, 138)
HSLhsl(218, 71%, 32%)
HSVhsv(218, 83%, 54%)
CMYKcmyk(83.3%, 52.9%, 0%, 45.9%)
CIE-LABlab(28.89, 14.36, -44.73)
CIE-LCHlch(28.89, 46.98, 287.79°)
OKLaboklab(39.18% -0.0212 -0.1289)
OKLCHoklch(39.18% 0.131 260.7)
XYZxyz(6.8294, 5.7969, 24.7988)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17418A #8A6017
analogous
#177B8A #17418A #27178A
triadic
#17418A #8A1741 #418A17
tetradic
#17418A #8A177B #8A6017 #178A27
square
#17418A #8A177B #8A6017 #178A27
split-complementary
#17418A #8A2717 #7B8A17
monochromatic
#061021 #0E2856 #17418A #205ABE #3D78DF

Accessibility & contrast

On white

9.72
#17418A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#17418A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17418A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17418A#FFFFFF#000000##FFFFFF
##17418A1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8D
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #17418a;
/* rgb */ color: rgb(23, 65, 138);
/* oklch */ color: oklch(39.2% 0.131 260.7);
Tailwind
colors: {
  custom: {
    50: '#6975ad',
    500: '#17418a',
    950: '#000000',
  },
}
SCSS
$custom: #17418a;
$custom-light: #6975ad;
$custom-dark: #000000;
JSON
{
  "hex": "#17418a",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 218.087,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3918,
    "c": 0.13062,
    "h": 260.7
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#17418A
secondary
#BE8F3F
accent
#AC3AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #17418A

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

Preview Lab → · Contrast checker → · Palette generator →

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