#172250#172250

#172250 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.085 H 269.8°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#172250
RGBrgb(23, 34, 80)
HSLhsl(228, 55%, 20%)
HSVhsv(228, 71%, 31%)
CMYKcmyk(71.2%, 57.5%, 0%, 68.6%)
CIE-LABlab(14.98, 12.59, -29.75)
CIE-LCHlch(14.98, 32.31, 292.94°)
OKLaboklab(27.18% -0.0003 -0.0854)
OKLCHoklch(27.18% 0.085 269.8)
XYZxyz(2.3729, 1.9052, 7.8306)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172250 #504517
analogous
#173E50 #172250 #281750
triadic
#172250 #501722 #225017
tetradic
#172250 #50173E #504517 #175028
square
#172250 #50173E #504517 #175028
split-complementary
#172250 #502817 #3E5017
monochromatic
#070A18 #090E20 #172250 #253680 #324AAF

Accessibility & contrast

On white

15.21
#172250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#172250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172250
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172250#FFFFFF#000000##FFFFFF
##1722501.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062852
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #172250;
/* rgb */ color: rgb(23, 34, 80);
/* oklch */ color: oklch(27.2% 0.085 269.8);
Tailwind
colors: {
  custom: {
    50: '#5c5c81',
    500: '#172250',
    950: '#000000',
  },
}
SCSS
$custom: #172250;
$custom-light: #5c5c81;
$custom-dark: #000000;
JSON
{
  "hex": "#172250",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 80
  },
  "hsl": {
    "h": 228.421,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2718,
    "c": 0.08541,
    "h": 269.8
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#172250
secondary
#87793C
accent
#C249DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #172250

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

Preview Lab → · Contrast checker → · Palette generator →

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