#172869#172869

#172869 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.8% C 0.116 H 267.7°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#172869
RGBrgb(23, 40, 105)
HSLhsl(228, 64%, 25%)
HSVhsv(228, 78%, 41%)
CMYKcmyk(78.1%, 61.9%, 0%, 58.8%)
CIE-LABlab(18.88, 18.50, -40.06)
CIE-LCHlch(18.88, 44.13, 294.79°)
OKLaboklab(30.77% -0.0046 -0.1156)
OKLCHoklch(30.77% 0.116 267.7)
XYZxyz(3.6611, 2.7193, 13.6938)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172869 #695817
analogous
#175169 #172869 #2F1769
triadic
#172869 #691728 #286917
tetradic
#172869 #691751 #695817 #17692F
square
#172869 #691751 #695817 #17692F
split-complementary
#172869 #692F17 #516917
monochromatic
#050A19 #0C1537 #172869 #223B9B #2D4ECD

Accessibility & contrast

On white

13.60
#172869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#172869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172869
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172869#FFFFFF#000000##FFFFFF
##1728691.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326B
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172869;
/* rgb */ color: rgb(23, 40, 105);
/* oklch */ color: oklch(30.8% 0.116 267.7);
Tailwind
colors: {
  custom: {
    50: '#626194',
    500: '#172869',
    950: '#000000',
  },
}
SCSS
$custom: #172869;
$custom-light: #626194;
$custom-dark: #000000;
JSON
{
  "hex": "#172869",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 105
  },
  "hsl": {
    "h": 227.561,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30772,
    "c": 0.11571,
    "h": 267.7
  },
  "luminance": 0.0272
}

Semantic roles & 50–950 ramp

primary
#172869
secondary
#9F8B3D
accent
#C541E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #172869

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

Preview Lab → · Contrast checker → · Palette generator →

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