#172249#172249

#172249 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.074 H 269.1°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#172249
RGBrgb(23, 34, 73)
HSLhsl(227, 52%, 19%)
HSVhsv(227, 68%, 29%)
CMYKcmyk(68.5%, 53.4%, 0%, 71.4%)
CIE-LABlab(14.44, 9.70, -25.84)
CIE-LCHlch(14.44, 27.60, 290.59°)
OKLaboklab(26.6% -0.0012 -0.0739)
OKLCHoklch(26.6% 0.074 269.1)
XYZxyz(2.1276, 1.8071, 6.5387)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172249 #493E17
analogous
#173B49 #172249 #251749
triadic
#172249 #491722 #224917
tetradic
#172249 #49173B #493E17 #174925
square
#172249 #49173B #493E17 #174925
split-complementary
#172249 #492517 #3B4917
monochromatic
#070B17 #080C1A #172249 #263878 #344DA6

Accessibility & contrast

On white

15.43
#172249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#172249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172249
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172249#FFFFFF#000000##FFFFFF
##1722491.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E274A
Deuteranopia (green-blind)
#062248
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #172249;
/* rgb */ color: rgb(23, 34, 73);
/* oklch */ color: oklch(26.6% 0.074 269.1);
Tailwind
colors: {
  custom: {
    50: '#5a5c7c',
    500: '#172249',
    950: '#000000',
  },
}
SCSS
$custom: #172249;
$custom-light: #5a5c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#172249",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 226.8,
    "s": 52.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26596,
    "c": 0.07389,
    "h": 269.1
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#172249
secondary
#80713C
accent
#BC4CDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #172249

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

Preview Lab → · Contrast checker → · Palette generator →

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