#171263#171263

#171263 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.134 H 274.5°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#171263
RGBrgb(23, 18, 99)
HSLhsl(244, 69%, 23%)
HSVhsv(244, 82%, 39%)
CMYKcmyk(76.8%, 81.8%, 0%, 61.2%)
CIE-LABlab(12.71, 31.08, -46.25)
CIE-LCHlch(12.71, 55.73, 303.90°)
OKLaboklab(26.1% 0.0106 -0.1338)
OKLCHoklch(26.1% 0.134 274.5)
XYZxyz(2.8210, 1.5153, 11.9458)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171263 #5E6312
analogous
#123563 #171263 #3F1263
triadic
#171263 #631712 #126317
tetradic
#171263 #631235 #5E6312 #12633F
square
#171263 #631235 #5E6312 #12633F
split-complementary
#171263 #633F12 #356312
monochromatic
#06051A #0B092F #171263 #231B97 #2F25CB

Accessibility & contrast

On white

16.11
#171263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171263
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171263#FFFFFF#000000##FFFFFF
##1712631.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002565
Deuteranopia (green-blind)
#001D62
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #171263;
/* rgb */ color: rgb(23, 18, 99);
/* oklch */ color: oklch(26.1% 0.134 274.5);
Tailwind
colors: {
  custom: {
    50: '#625190',
    500: '#171263',
    950: '#000000',
  },
}
SCSS
$custom: #171263;
$custom-light: #625190;
$custom-dark: #000000;
JSON
{
  "hex": "#171263",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 243.704,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26097,
    "c": 0.1342,
    "h": 274.5
  },
  "luminance": 0.01516
}

Semantic roles & 50–950 ramp

primary
#171263
secondary
#959B36
accent
#EC3CE1
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171263

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

Preview Lab → · Contrast checker → · Palette generator →

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