#172165#172165

#172165 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.119 H 270.4°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#172165
RGBrgb(23, 33, 101)
HSLhsl(232, 63%, 24%)
HSVhsv(232, 77%, 40%)
CMYKcmyk(77.2%, 67.3%, 0%, 60.4%)
CIE-LABlab(16.55, 21.92, -41.25)
CIE-LCHlch(16.55, 46.71, 297.98°)
OKLaboklab(28.93% 0.0009 -0.1192)
OKLCHoklch(28.93% 0.119 270.4)
XYZxyz(3.2454, 2.2091, 12.5648)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172165 #655B17
analogous
#174865 #172165 #341765
triadic
#172165 #651721 #216517
tetradic
#172165 #651748 #655B17 #176534
square
#172165 #651748 #655B17 #176534
split-complementary
#172165 #653417 #486517
monochromatic
#060819 #0C1133 #172165 #223197 #2E42C9

Accessibility & contrast

On white

14.57
#172165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#172165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172165
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172165#FFFFFF#000000##FFFFFF
##1721651.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002564
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172165;
/* rgb */ color: rgb(23, 33, 101);
/* oklch */ color: oklch(28.9% 0.119 270.4);
Tailwind
colors: {
  custom: {
    50: '#615c92',
    500: '#172165',
    950: '#000000',
  },
}
SCSS
$custom: #172165;
$custom-light: #615c92;
$custom-dark: #000000;
JSON
{
  "hex": "#172165",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 101
  },
  "hsl": {
    "h": 232.308,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28928,
    "c": 0.1192,
    "h": 270.4
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

primary
#172165
secondary
#9B8F3C
accent
#D142E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172165

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

Preview Lab → · Contrast checker → · Palette generator →

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