#172468#172468

#172468 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.8% C 0.120 H 269.3°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#172468
RGBrgb(23, 36, 104)
HSLhsl(230, 64%, 25%)
HSVhsv(230, 78%, 41%)
CMYKcmyk(77.9%, 65.4%, 0%, 59.2%)
CIE-LABlab(17.66, 20.98, -41.41)
CIE-LCHlch(17.66, 46.42, 296.87°)
OKLaboklab(29.84% -0.0014 -0.1196)
OKLCHoklch(29.84% 0.12 269.3)
XYZxyz(3.4821, 2.4430, 13.3821)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172468 #685B17
analogous
#174D68 #172468 #321768
triadic
#172468 #681724 #246817
tetradic
#172468 #68174D #685B17 #176832
square
#172468 #68174D #685B17 #176832
split-complementary
#172468 #683217 #4D6817
monochromatic
#060919 #0C1336 #172468 #22359A #2D47CC

Accessibility & contrast

On white

14.11
#172468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#172468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172468
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172468#FFFFFF#000000##FFFFFF
##1724681.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172468;
/* rgb */ color: rgb(23, 36, 104);
/* oklch */ color: oklch(29.8% 0.120 269.3);
Tailwind
colors: {
  custom: {
    50: '#625e94',
    500: '#172468',
    950: '#000000',
  },
}
SCSS
$custom: #172468;
$custom-light: #625e94;
$custom-dark: #000000;
JSON
{
  "hex": "#172468",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 104
  },
  "hsl": {
    "h": 230.37,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29835,
    "c": 0.11963,
    "h": 269.3
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#172468
secondary
#9E8F3D
accent
#CC41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172468

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

Preview Lab → · Contrast checker → · Palette generator →

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