#171165#171165

#171165 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.138 H 274.4°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#171165
RGBrgb(23, 17, 101)
HSLhsl(244, 71%, 23%)
HSVhsv(244, 83%, 40%)
CMYKcmyk(77.2%, 83.2%, 0%, 60.4%)
CIE-LABlab(12.75, 32.35, -47.51)
CIE-LCHlch(12.75, 57.48, 304.26°)
OKLaboklab(26.2% 0.0106 -0.1374)
OKLCHoklch(26.2% 0.138 274.4)
XYZxyz(2.9020, 1.5224, 12.4503)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171165 #5F6511
analogous
#113565 #171165 #411165
triadic
#171165 #651711 #116517
tetradic
#171165 #651135 #5F6511 #116541
square
#171165 #651135 #5F6511 #116541
split-complementary
#171165 #654111 #356511
monochromatic
#06041A #0B0831 #171165 #231A99 #2F23CE

Accessibility & contrast

On white

16.10
#171165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#171165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171165
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171165#FFFFFF#000000##FFFFFF
##1711651.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002567
Deuteranopia (green-blind)
#001D64
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #171165;
/* rgb */ color: rgb(23, 17, 101);
/* oklch */ color: oklch(26.2% 0.138 274.4);
Tailwind
colors: {
  custom: {
    50: '#635192',
    500: '#171165',
    950: '#000000',
  },
}
SCSS
$custom: #171165;
$custom-light: #635192;
$custom-dark: #000000;
JSON
{
  "hex": "#171165",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 244.286,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.262,
    "c": 0.13781,
    "h": 274.4
  },
  "luminance": 0.01523
}

Semantic roles & 50–950 ramp

primary
#171165
secondary
#969D35
accent
#EE3AE1
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171165

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

Preview Lab → · Contrast checker → · Palette generator →

#171165 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva