#170C53#170C53

#170C53 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.3% C 0.119 H 278.9°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#170C53
RGBrgb(23, 12, 83)
HSLhsl(249, 75%, 19%)
HSVhsv(249, 86%, 33%)
CMYKcmyk(72.3%, 85.5%, 0%, 67.5%)
CIE-LABlab(9.56, 28.92, -40.67)
CIE-LCHlch(9.56, 49.90, 305.42°)
OKLaboklab(23.32% 0.0184 -0.1175)
OKLCHoklch(23.32% 0.119 278.9)
XYZxyz(2.0457, 1.0695, 8.2806)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170C53 #48530C
analogous
#0C2453 #170C53 #3A0C53
triadic
#170C53 #53170C #0C5317
tetradic
#170C53 #530C24 #48530C #0C533A
square
#170C53 #530C24 #48530C #0C533A
split-complementary
#170C53 #533A0C #24530C
monochromatic
#07041B #08041E #170C53 #261488 #351BBE

Accessibility & contrast

On white

17.30
#170C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#170C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170C53
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170C53#FFFFFF#000000##FFFFFF
##170C531.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D55
Deuteranopia (green-blind)
#001852
Tritanopia (blue-blind)
#00212F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #170c53;
/* rgb */ color: rgb(23, 12, 83);
/* oklch */ color: oklch(23.3% 0.119 278.9);
Tailwind
colors: {
  custom: {
    50: '#5f4d84',
    500: '#170c53',
    950: '#000000',
  },
}
SCSS
$custom: #170c53;
$custom-light: #5f4d84;
$custom-dark: #000000;
JSON
{
  "hex": "#170c53",
  "rgb": {
    "r": 23,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 249.296,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23318,
    "c": 0.11889,
    "h": 278.9
  },
  "luminance": 0.0107
}

Semantic roles & 50–950 ramp

primary
#170C53
secondary
#7F8E2D
accent
#F136D4
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #170C53

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

Preview Lab → · Contrast checker → · Palette generator →

#170C53 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva