#171B65#171B65

#171B65 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.127 H 272.3°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#171B65
RGBrgb(23, 27, 101)
HSLhsl(237, 63%, 24%)
HSVhsv(237, 77%, 40%)
CMYKcmyk(77.2%, 73.3%, 0%, 60.4%)
CIE-LABlab(14.98, 26.10, -43.82)
CIE-LCHlch(14.98, 51.00, 300.77°)
OKLaboklab(27.79% 0.0051 -0.1267)
OKLCHoklch(27.79% 0.127 272.3)
XYZxyz(3.0935, 1.9053, 12.5141)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171B65 #656117
analogous
#174265 #171B65 #3A1765
triadic
#171B65 #65171B #1B6517
tetradic
#171B65 #651742 #656117 #17653A
square
#171B65 #651742 #656117 #17653A
split-complementary
#171B65 #653A17 #426517
monochromatic
#060719 #0C0E33 #171B65 #222897 #2E36C9

Accessibility & contrast

On white

15.20
#171B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#171B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171B65
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171B65#FFFFFF#000000##FFFFFF
##171B651.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002264
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #171b65;
/* rgb */ color: rgb(23, 27, 101);
/* oklch */ color: oklch(27.8% 0.127 272.3);
Tailwind
colors: {
  custom: {
    50: '#625792',
    500: '#171b65',
    950: '#000000',
  },
}
SCSS
$custom: #171b65;
$custom-light: #625792;
$custom-dark: #000000;
JSON
{
  "hex": "#171b65",
  "rgb": {
    "r": 23,
    "g": 27,
    "b": 101
  },
  "hsl": {
    "h": 236.923,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27787,
    "c": 0.12685,
    "h": 272.3
  },
  "luminance": 0.01906
}

Semantic roles & 50–950 ramp

primary
#171B65
secondary
#9B973C
accent
#DE42E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171B65

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

Preview Lab → · Contrast checker → · Palette generator →

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