#172969#172969

#172969 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.114 H 267.3°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#172969
RGBrgb(23, 41, 105)
HSLhsl(227, 64%, 25%)
HSVhsv(227, 78%, 41%)
CMYKcmyk(78.1%, 61%, 0%, 58.8%)
CIE-LABlab(19.17, 17.78, -39.59)
CIE-LCHlch(19.17, 43.40, 294.18°)
OKLaboklab(30.99% -0.0054 -0.1142)
OKLCHoklch(30.99% 0.114 267.3)
XYZxyz(3.6952, 2.7876, 13.7052)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172969 #695717
analogous
#175269 #172969 #2E1769
triadic
#172969 #691729 #296917
tetradic
#172969 #691752 #695717 #17692E
square
#172969 #691752 #695717 #17692E
split-complementary
#172969 #692E17 #526917
monochromatic
#050A19 #0C1537 #172969 #223D9B #2D50CD

Accessibility & contrast

On white

13.48
#172969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#172969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172969
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172969#FFFFFF#000000##FFFFFF
##1729691.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326B
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #172969;
/* rgb */ color: rgb(23, 41, 105);
/* oklch */ color: oklch(31.0% 0.114 267.3);
Tailwind
colors: {
  custom: {
    50: '#626294',
    500: '#172969',
    950: '#000000',
  },
}
SCSS
$custom: #172969;
$custom-light: #626294;
$custom-dark: #000000;
JSON
{
  "hex": "#172969",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 105
  },
  "hsl": {
    "h": 226.829,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30989,
    "c": 0.11435,
    "h": 267.3
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#172969
secondary
#9F8A3D
accent
#C341E7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #172969

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

Preview Lab → · Contrast checker → · Palette generator →

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