#172968#172968

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

Color values

HEX#172968
RGBrgb(23, 41, 104)
HSLhsl(227, 64%, 25%)
HSVhsv(227, 78%, 41%)
CMYKcmyk(77.9%, 60.6%, 0%, 59.2%)
CIE-LABlab(19.09, 17.37, -39.08)
CIE-LCHlch(19.09, 42.76, 293.96°)
OKLaboklab(30.9% -0.0054 -0.1127)
OKLCHoklch(30.9% 0.113 267.3)
XYZxyz(3.6441, 2.7671, 13.4361)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172968 #685617
analogous
#175168 #172968 #2E1768
triadic
#172968 #681729 #296817
tetradic
#172968 #681751 #685617 #17682E
square
#172968 #681751 #685617 #17682E
split-complementary
#172968 #682E17 #516817
monochromatic
#060A19 #0C1536 #172968 #223D9A #2D51CC

Accessibility & contrast

On white

13.52
#172968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#172968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172968
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172968#FFFFFF#000000##FFFFFF
##1729681.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172968;
/* rgb */ color: rgb(23, 41, 104);
/* oklch */ color: oklch(30.9% 0.113 267.3);
Tailwind
colors: {
  custom: {
    50: '#616294',
    500: '#172968',
    950: '#000000',
  },
}
SCSS
$custom: #172968;
$custom-light: #616294;
$custom-dark: #000000;
JSON
{
  "hex": "#172968",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 104
  },
  "hsl": {
    "h": 226.667,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30897,
    "c": 0.11285,
    "h": 267.3
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#172968
secondary
#9E893D
accent
#C241E7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #172968

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

Preview Lab → · Contrast checker → · Palette generator →

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