#171A69#171A69

#171A69 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.134 H 272.2°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#171A69
RGBrgb(23, 26, 105)
HSLhsl(238, 64%, 25%)
HSVhsv(238, 78%, 41%)
CMYKcmyk(78.1%, 75.2%, 0%, 58.8%)
CIE-LABlab(15.17, 28.29, -46.14)
CIE-LCHlch(15.17, 54.12, 301.51°)
OKLaboklab(28.05% 0.0051 -0.1335)
OKLCHoklch(28.05% 0.134 272.2)
XYZxyz(3.2717, 1.9405, 13.5640)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171A69 #696617
analogous
#174369 #171A69 #3D1769
triadic
#171A69 #69171A #1A6917
tetradic
#171A69 #691743 #696617 #17693D
square
#171A69 #691743 #696617 #17693D
split-complementary
#171A69 #693D17 #436917
monochromatic
#050619 #0C0E37 #171A69 #22269B #2D33CD

Accessibility & contrast

On white

15.13
#171A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#171A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171A69
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171A69#FFFFFF#000000##FFFFFF
##171A691.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002268
Tritanopia (blue-blind)
#00303F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #171a69;
/* rgb */ color: rgb(23, 26, 105);
/* oklch */ color: oklch(28.1% 0.134 272.2);
Tailwind
colors: {
  custom: {
    50: '#635795',
    500: '#171a69',
    950: '#000000',
  },
}
SCSS
$custom: #171a69;
$custom-light: #635795;
$custom-dark: #000000;
JSON
{
  "hex": "#171a69",
  "rgb": {
    "r": 23,
    "g": 26,
    "b": 105
  },
  "hsl": {
    "h": 237.805,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28054,
    "c": 0.13361,
    "h": 272.2
  },
  "luminance": 0.01941
}

Semantic roles & 50–950 ramp

primary
#171A69
secondary
#9F9C3D
accent
#E141E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171A69

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

Preview Lab → · Contrast checker → · Palette generator →

#171A69 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva