#172C67#172C67

#172C67 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.107 H 265.7°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#172C67
RGBrgb(23, 44, 103)
HSLhsl(224, 63%, 25%)
HSVhsv(224, 78%, 40%)
CMYKcmyk(77.7%, 57.3%, 0%, 59.6%)
CIE-LABlab(19.89, 14.77, -37.12)
CIE-LCHlch(19.89, 39.95, 291.70°)
OKLaboklab(31.48% -0.008 -0.1069)
OKLCHoklch(31.48% 0.107 265.7)
XYZxyz(3.7014, 2.9624, 13.2061)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C67 #675217
analogous
#175467 #172C67 #2A1767
triadic
#172C67 #67172C #2C6717
tetradic
#172C67 #671754 #675217 #17672A
square
#172C67 #671754 #675217 #17672A
split-complementary
#172C67 #672A17 #546717
monochromatic
#060B19 #0C1735 #172C67 #224199 #2D57CB

Accessibility & contrast

On white

13.19
#172C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#172C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172C67
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C67#FFFFFF#000000##FFFFFF
##172C671.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #172c67;
/* rgb */ color: rgb(23, 44, 103);
/* oklch */ color: oklch(31.5% 0.107 265.7);
Tailwind
colors: {
  custom: {
    50: '#616493',
    500: '#172c67',
    950: '#000000',
  },
}
SCSS
$custom: #172c67;
$custom-light: #616493;
$custom-dark: #000000;
JSON
{
  "hex": "#172c67",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 103
  },
  "hsl": {
    "h": 224.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31478,
    "c": 0.10719,
    "h": 265.7
  },
  "luminance": 0.02963
}

Semantic roles & 50–950 ramp

primary
#172C67
secondary
#9D843D
accent
#BB41E7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #172C67

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

Preview Lab → · Contrast checker → · Palette generator →

#172C67 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva