#171963#171963

#171963 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.2% C 0.126 H 273.0°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#171963
RGBrgb(23, 25, 99)
HSLhsl(238, 62%, 24%)
HSVhsv(238, 77%, 39%)
CMYKcmyk(76.8%, 74.7%, 0%, 61.2%)
CIE-LABlab(14.28, 26.67, -43.66)
CIE-LCHlch(14.28, 51.16, 301.42°)
OKLaboklab(27.21% 0.0067 -0.1263)
OKLCHoklch(27.21% 0.126 273)
XYZxyz(2.9524, 1.7780, 11.9896)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171963 #636117
analogous
#173F63 #171963 #3B1763
triadic
#171963 #631719 #196317
tetradic
#171963 #63173F #636117 #17633B
square
#171963 #63173F #636117 #17633B
split-complementary
#171963 #633B17 #3F6317
monochromatic
#060619 #0B0C31 #171963 #232695 #2E32C6

Accessibility & contrast

On white

15.49
#171963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#171963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171963
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171963#FFFFFF#000000##FFFFFF
##1719631.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002162
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #171963;
/* rgb */ color: rgb(23, 25, 99);
/* oklch */ color: oklch(27.2% 0.126 273.0);
Tailwind
colors: {
  custom: {
    50: '#625690',
    500: '#171963',
    950: '#000000',
  },
}
SCSS
$custom: #171963;
$custom-light: #625690;
$custom-dark: #000000;
JSON
{
  "hex": "#171963",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 238.421,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27213,
    "c": 0.12646,
    "h": 273
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#171963
secondary
#9A973C
accent
#E142E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #171963

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

Preview Lab → · Contrast checker → · Palette generator →

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