#172067#172067

#172067 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 28.9% C 0.123 H 270.7°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#172067
RGBrgb(23, 32, 103)
HSLhsl(233, 63%, 25%)
HSVhsv(233, 78%, 40%)
CMYKcmyk(77.7%, 68.9%, 0%, 59.6%)
CIE-LABlab(16.47, 23.42, -42.69)
CIE-LCHlch(16.47, 48.69, 298.75°)
OKLaboklab(28.93% 0.0015 -0.1234)
OKLCHoklch(28.93% 0.123 270.7)
XYZxyz(3.3172, 2.1941, 13.0780)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172067 #675E17
analogous
#174867 #172067 #361767
triadic
#172067 #671720 #206717
tetradic
#172067 #671748 #675E17 #176736
square
#172067 #671748 #675E17 #176736
split-complementary
#172067 #673617 #486717
monochromatic
#060819 #0C1035 #172067 #223099 #2D3FCB

Accessibility & contrast

On white

14.60
#172067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#172067 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172067
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172067#FFFFFF#000000##FFFFFF
##1720671.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002566
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172067;
/* rgb */ color: rgb(23, 32, 103);
/* oklch */ color: oklch(28.9% 0.123 270.7);
Tailwind
colors: {
  custom: {
    50: '#625b93',
    500: '#172067',
    950: '#000000',
  },
}
SCSS
$custom: #172067;
$custom-light: #625b93;
$custom-dark: #000000;
JSON
{
  "hex": "#172067",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 103
  },
  "hsl": {
    "h": 233.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28934,
    "c": 0.12342,
    "h": 270.7
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#172067
secondary
#9D923D
accent
#D441E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172067

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

Preview Lab → · Contrast checker → · Palette generator →

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