#172069#172069

#172069 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.1% C 0.126 H 270.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#172069
RGBrgb(23, 32, 105)
HSLhsl(233, 64%, 25%)
HSVhsv(233, 78%, 41%)
CMYKcmyk(78.1%, 69.5%, 0%, 58.8%)
CIE-LABlab(16.67, 24.22, -43.67)
CIE-LCHlch(16.67, 49.94, 299.01°)
OKLaboklab(29.14% 0.0014 -0.1263)
OKLCHoklch(29.14% 0.126 270.6)
XYZxyz(3.4188, 2.2347, 13.6130)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172069 #696017
analogous
#174969 #172069 #371769
triadic
#172069 #691720 #206917
tetradic
#172069 #691749 #696017 #176937
square
#172069 #691749 #696017 #176937
split-complementary
#172069 #693717 #496917
monochromatic
#050819 #0C1137 #172069 #222F9B #2D3FCD

Accessibility & contrast

On white

14.51
#172069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#172069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172069
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172069#FFFFFF#000000##FFFFFF
##1720691.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172069;
/* rgb */ color: rgb(23, 32, 105);
/* oklch */ color: oklch(29.1% 0.126 270.6);
Tailwind
colors: {
  custom: {
    50: '#625b95',
    500: '#172069',
    950: '#000000',
  },
}
SCSS
$custom: #172069;
$custom-light: #625b95;
$custom-dark: #000000;
JSON
{
  "hex": "#172069",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 105
  },
  "hsl": {
    "h": 233.415,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29141,
    "c": 0.1263,
    "h": 270.6
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#172069
secondary
#9F943D
accent
#D541E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172069

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

Preview Lab → · Contrast checker → · Palette generator →

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