#172068#172068

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

Color values

HEX#172068
RGBrgb(23, 32, 104)
HSLhsl(233, 64%, 25%)
HSVhsv(233, 78%, 41%)
CMYKcmyk(77.9%, 69.2%, 0%, 59.2%)
CIE-LABlab(16.57, 23.82, -43.18)
CIE-LCHlch(16.57, 49.31, 298.88°)
OKLaboklab(29.04% 0.0014 -0.1249)
OKLCHoklch(29.04% 0.125 270.7)
XYZxyz(3.3677, 2.2143, 13.3439)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172068 #685F17
analogous
#174968 #172068 #361768
triadic
#172068 #681720 #206817
tetradic
#172068 #681749 #685F17 #176836
square
#172068 #681749 #685F17 #176836
split-complementary
#172068 #683617 #496817
monochromatic
#060819 #0C1136 #172068 #222F9A #2D3FCC

Accessibility & contrast

On white

14.55
#172068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172068
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172068#FFFFFF#000000##FFFFFF
##1720681.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172068;
/* rgb */ color: rgb(23, 32, 104);
/* oklch */ color: oklch(29.0% 0.125 270.7);
Tailwind
colors: {
  custom: {
    50: '#625b94',
    500: '#172068',
    950: '#000000',
  },
}
SCSS
$custom: #172068;
$custom-light: #625b94;
$custom-dark: #000000;
JSON
{
  "hex": "#172068",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 104
  },
  "hsl": {
    "h": 233.333,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29037,
    "c": 0.12487,
    "h": 270.7
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #172068

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

Preview Lab → · Contrast checker → · Palette generator →

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