#172267#172267

#172267 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.3% C 0.121 H 270.0°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#172267
RGBrgb(23, 34, 103)
HSLhsl(232, 63%, 25%)
HSVhsv(232, 78%, 40%)
CMYKcmyk(77.7%, 67%, 0%, 59.6%)
CIE-LABlab(17.01, 22.01, -41.81)
CIE-LCHlch(17.01, 47.24, 297.76°)
OKLaboklab(29.33% 0.0001 -0.1208)
OKLCHoklch(29.33% 0.121 270)
XYZxyz(3.3727, 2.3051, 13.0965)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172267 #675C17
analogous
#174A67 #172267 #341767
triadic
#172267 #671722 #226717
tetradic
#172267 #67174A #675C17 #176734
square
#172267 #67174A #675C17 #176734
split-complementary
#172267 #673417 #4A6717
monochromatic
#060819 #0C1135 #172267 #223399 #2D43CB

Accessibility & contrast

On white

14.37
#172267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#172267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172267
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172267#FFFFFF#000000##FFFFFF
##1722671.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002666
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172267;
/* rgb */ color: rgb(23, 34, 103);
/* oklch */ color: oklch(29.3% 0.121 270.0);
Tailwind
colors: {
  custom: {
    50: '#625d93',
    500: '#172267',
    950: '#000000',
  },
}
SCSS
$custom: #172267;
$custom-light: #625d93;
$custom-dark: #000000;
JSON
{
  "hex": "#172267",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 231.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29329,
    "c": 0.12081,
    "h": 270
  },
  "luminance": 0.02305
}

Semantic roles & 50–950 ramp

primary
#172267
secondary
#9D903D
accent
#D041E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172267

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

Preview Lab → · Contrast checker → · Palette generator →

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