#172765#172765

#172765 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.111 H 268.0°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#172765
RGBrgb(23, 39, 101)
HSLhsl(228, 63%, 24%)
HSVhsv(228, 77%, 40%)
CMYKcmyk(77.2%, 61.4%, 0%, 60.4%)
CIE-LABlab(18.24, 17.58, -38.49)
CIE-LCHlch(18.24, 42.31, 294.55°)
OKLaboklab(30.19% -0.0038 -0.111)
OKLCHoklch(30.19% 0.111 268)
XYZxyz(3.4270, 2.5724, 12.6253)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172765 #655517
analogous
#174E65 #172765 #2E1765
triadic
#172765 #651727 #276517
tetradic
#172765 #65174E #655517 #17652E
square
#172765 #65174E #655517 #17652E
split-complementary
#172765 #652E17 #4E6517
monochromatic
#060A19 #0C1433 #172765 #223A97 #2E4DC9

Accessibility & contrast

On white

13.87
#172765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#172765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172765
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172765#FFFFFF#000000##FFFFFF
##1727651.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172765;
/* rgb */ color: rgb(23, 39, 101);
/* oklch */ color: oklch(30.2% 0.111 268.0);
Tailwind
colors: {
  custom: {
    50: '#616091',
    500: '#172765',
    950: '#000000',
  },
}
SCSS
$custom: #172765;
$custom-light: #616091;
$custom-dark: #000000;
JSON
{
  "hex": "#172765",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 101
  },
  "hsl": {
    "h": 227.692,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30185,
    "c": 0.11108,
    "h": 268
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#172765
secondary
#9B883C
accent
#C442E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #172765

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

Preview Lab → · Contrast checker → · Palette generator →

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