#17195E#17195E

#17195E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.7% C 0.119 H 273.5°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#17195E
RGBrgb(23, 25, 94)
HSLhsl(238, 61%, 23%)
HSVhsv(238, 76%, 37%)
CMYKcmyk(75.5%, 73.4%, 0%, 63.1%)
CIE-LABlab(13.74, 24.76, -41.22)
CIE-LCHlch(13.74, 48.08, 300.99°)
OKLaboklab(26.67% 0.0074 -0.1191)
OKLCHoklch(26.67% 0.119 273.5)
XYZxyz(2.7207, 1.6853, 10.7694)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17195E #5E5C17
analogous
#173C5E #17195E #38175E
triadic
#17195E #5E1719 #195E17
tetradic
#17195E #5E173C #5E5C17 #175E38
square
#17195E #5E173C #5E5C17 #175E38
split-complementary
#17195E #5E3817 #3C5E17
monochromatic
#060719 #0B0C2D #17195E #23268F #2F33C0

Accessibility & contrast

On white

15.70
#17195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#17195E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17195E
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17195E#FFFFFF#000000##FFFFFF
##17195E1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00205D
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #17195e;
/* rgb */ color: rgb(23, 25, 94);
/* oklch */ color: oklch(26.7% 0.119 273.5);
Tailwind
colors: {
  custom: {
    50: '#60568c',
    500: '#17195e',
    950: '#000000',
  },
}
SCSS
$custom: #17195e;
$custom-light: #60568c;
$custom-dark: #000000;
JSON
{
  "hex": "#17195e",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 238.31,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26665,
    "c": 0.11936,
    "h": 273.5
  },
  "luminance": 0.01686
}

Semantic roles & 50–950 ramp

primary
#17195E
secondary
#95923C
accent
#DF44E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #17195E

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

Preview Lab → · Contrast checker → · Palette generator →

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