#172269#172269

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

Color values

HEX#172269
RGBrgb(23, 34, 105)
HSLhsl(232, 64%, 25%)
HSVhsv(232, 78%, 41%)
CMYKcmyk(78.1%, 67.6%, 0%, 58.8%)
CIE-LABlab(17.21, 22.81, -42.80)
CIE-LCHlch(17.21, 48.50, 298.05°)
OKLaboklab(29.53% 0 -0.1237)
OKLCHoklch(29.53% 0.124 270)
XYZxyz(3.4743, 2.3458, 13.6315)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172269 #695E17
analogous
#174B69 #172269 #351769
triadic
#172269 #691722 #226917
tetradic
#172269 #69174B #695E17 #176935
square
#172269 #69174B #695E17 #176935
split-complementary
#172269 #693517 #4B6917
monochromatic
#050819 #0C1237 #172269 #22329B #2D43CD

Accessibility & contrast

On white

14.29
#172269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#172269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172269
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172269#FFFFFF#000000##FFFFFF
##1722691.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#002768
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172269;
/* rgb */ color: rgb(23, 34, 105);
/* oklch */ color: oklch(29.5% 0.124 270.0);
Tailwind
colors: {
  custom: {
    50: '#625d95',
    500: '#172269',
    950: '#000000',
  },
}
SCSS
$custom: #172269;
$custom-light: #625d95;
$custom-dark: #000000;
JSON
{
  "hex": "#172269",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 105
  },
  "hsl": {
    "h": 231.951,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29531,
    "c": 0.12372,
    "h": 270
  },
  "luminance": 0.02346
}

Semantic roles & 50–950 ramp

primary
#172269
secondary
#9F923D
accent
#D141E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172269

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

Preview Lab → · Contrast checker → · Palette generator →

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