#172665#172665

#172665 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.0% C 0.112 H 268.5°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#172665
RGBrgb(23, 38, 101)
HSLhsl(228, 63%, 24%)
HSVhsv(228, 77%, 40%)
CMYKcmyk(77.2%, 62.4%, 0%, 60.4%)
CIE-LABlab(17.95, 18.31, -38.96)
CIE-LCHlch(17.95, 43.05, 295.17°)
OKLaboklab(29.97% -0.003 -0.1124)
OKLCHoklch(29.97% 0.112 268.5)
XYZxyz(3.3946, 2.5076, 12.6145)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172665 #655617
analogous
#174D65 #172665 #2F1765
triadic
#172665 #651726 #266517
tetradic
#172665 #65174D #655617 #17652F
square
#172665 #65174D #655617 #17652F
split-complementary
#172665 #652F17 #4D6517
monochromatic
#060919 #0C1333 #172665 #223997 #2E4CC9

Accessibility & contrast

On white

13.99
#172665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#172665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172665
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172665#FFFFFF#000000##FFFFFF
##1726651.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#003641
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172665;
/* rgb */ color: rgb(23, 38, 101);
/* oklch */ color: oklch(30.0% 0.112 268.5);
Tailwind
colors: {
  custom: {
    50: '#616091',
    500: '#172665',
    950: '#000000',
  },
}
SCSS
$custom: #172665;
$custom-light: #616091;
$custom-dark: #000000;
JSON
{
  "hex": "#172665",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 101
  },
  "hsl": {
    "h": 228.462,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29968,
    "c": 0.11245,
    "h": 268.5
  },
  "luminance": 0.02508
}

Semantic roles & 50–950 ramp

primary
#172665
secondary
#9B893C
accent
#C642E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #172665

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

Preview Lab → · Contrast checker → · Palette generator →

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