#17185E#17185E

#17185E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.121 H 273.8°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#17185E
RGBrgb(23, 24, 94)
HSLhsl(239, 61%, 23%)
HSVhsv(239, 76%, 37%)
CMYKcmyk(75.5%, 74.5%, 0%, 63.1%)
CIE-LABlab(13.49, 25.44, -41.63)
CIE-LCHlch(13.49, 48.78, 301.43°)
OKLaboklab(26.49% 0.0081 -0.1203)
OKLCHoklch(26.49% 0.121 273.8)
XYZxyz(2.6997, 1.6433, 10.7624)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17185E #5E5D17
analogous
#173B5E #17185E #39175E
triadic
#17185E #5E1718 #185E17
tetradic
#17185E #5E173B #5E5D17 #175E39
square
#17185E #5E173B #5E5D17 #175E39
split-complementary
#17185E #5E3917 #3B5E17
monochromatic
#060619 #0B0B2D #17185E #23258F #2F31C0

Accessibility & contrast

On white

15.80
#17185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#17185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17185E
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17185E#FFFFFF#000000##FFFFFF
##17185E1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #17185e;
/* rgb */ color: rgb(23, 24, 94);
/* oklch */ color: oklch(26.5% 0.121 273.8);
Tailwind
colors: {
  custom: {
    50: '#60558c',
    500: '#17185e',
    950: '#000000',
  },
}
SCSS
$custom: #17185e;
$custom-light: #60558c;
$custom-dark: #000000;
JSON
{
  "hex": "#17185e",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 239.155,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26486,
    "c": 0.1206,
    "h": 273.8
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#17185E
secondary
#95933C
accent
#E244E4
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #17185E

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

Preview Lab → · Contrast checker → · Palette generator →

#17185E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva