#171B69#171B69

#171B69 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.132 H 272.0°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#171B69
RGBrgb(23, 27, 105)
HSLhsl(237, 64%, 25%)
HSVhsv(237, 78%, 41%)
CMYKcmyk(78.1%, 74.3%, 0%, 58.8%)
CIE-LABlab(15.41, 27.63, -45.75)
CIE-LCHlch(15.41, 53.44, 301.13°)
OKLaboklab(28.23% 0.0045 -0.1324)
OKLCHoklch(28.23% 0.132 272)
XYZxyz(3.2942, 1.9856, 13.5715)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171B69 #696517
analogous
#174469 #171B69 #3C1769
triadic
#171B69 #69171B #1B6917
tetradic
#171B69 #691744 #696517 #17693C
square
#171B69 #691744 #696517 #17693C
split-complementary
#171B69 #693C17 #446917
monochromatic
#050619 #0C0E37 #171B69 #22289B #2D35CD

Accessibility & contrast

On white

15.03
#171B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#171B69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171B69
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171B69#FFFFFF#000000##FFFFFF
##171B691.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #171b69;
/* rgb */ color: rgb(23, 27, 105);
/* oklch */ color: oklch(28.2% 0.132 272.0);
Tailwind
colors: {
  custom: {
    50: '#635895',
    500: '#171b69',
    950: '#000000',
  },
}
SCSS
$custom: #171b69;
$custom-light: #635895;
$custom-dark: #000000;
JSON
{
  "hex": "#171b69",
  "rgb": {
    "r": 23,
    "g": 27,
    "b": 105
  },
  "hsl": {
    "h": 237.073,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28226,
    "c": 0.13245,
    "h": 272
  },
  "luminance": 0.01986
}

Semantic roles & 50–950 ramp

primary
#171B69
secondary
#9F9A3D
accent
#DF41E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171B69

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

Preview Lab → · Contrast checker → · Palette generator →

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