#172767#172767

#172767 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.114 H 268.1°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#172767
RGBrgb(23, 39, 103)
HSLhsl(228, 63%, 25%)
HSVhsv(228, 78%, 40%)
CMYKcmyk(77.7%, 62.1%, 0%, 59.6%)
CIE-LABlab(18.42, 18.41, -39.51)
CIE-LCHlch(18.42, 43.59, 294.98°)
OKLaboklab(30.37% -0.0038 -0.114)
OKLCHoklch(30.37% 0.114 268.1)
XYZxyz(3.5262, 2.6121, 13.1477)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172767 #675717
analogous
#174F67 #172767 #2F1767
triadic
#172767 #671727 #276717
tetradic
#172767 #67174F #675717 #17672F
square
#172767 #67174F #675717 #17672F
split-complementary
#172767 #672F17 #4F6717
monochromatic
#060919 #0C1435 #172767 #223A99 #2D4DCB

Accessibility & contrast

On white

13.79
#172767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#172767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172767
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172767#FFFFFF#000000##FFFFFF
##1727671.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172767;
/* rgb */ color: rgb(23, 39, 103);
/* oklch */ color: oklch(30.4% 0.114 268.1);
Tailwind
colors: {
  custom: {
    50: '#616093',
    500: '#172767',
    950: '#000000',
  },
}
SCSS
$custom: #172767;
$custom-light: #616093;
$custom-dark: #000000;
JSON
{
  "hex": "#172767",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 103
  },
  "hsl": {
    "h": 228,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30371,
    "c": 0.11408,
    "h": 268.1
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #172767

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

Preview Lab → · Contrast checker → · Palette generator →

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