#172253#172253

#172253 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.090 H 269.9°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#172253
RGBrgb(23, 34, 83)
HSLhsl(229, 57%, 21%)
HSVhsv(229, 72%, 33%)
CMYKcmyk(72.3%, 59%, 0%, 67.5%)
CIE-LABlab(15.23, 13.83, -31.40)
CIE-LCHlch(15.23, 34.31, 293.78°)
OKLaboklab(27.44% -0.0001 -0.0902)
OKLCHoklch(27.44% 0.09 269.9)
XYZxyz(2.4862, 1.9505, 8.4274)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172253 #534817
analogous
#174053 #172253 #2A1753
triadic
#172253 #531722 #225317
tetradic
#172253 #531740 #534817 #17532A
square
#172253 #531740 #534817 #17532A
split-complementary
#172253 #532A17 #405317
monochromatic
#070A18 #0A0E23 #172253 #243683 #3249B3

Accessibility & contrast

On white

15.11
#172253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#172253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172253
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172253#FFFFFF#000000##FFFFFF
##1722531.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012955
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #172253;
/* rgb */ color: rgb(23, 34, 83);
/* oklch */ color: oklch(27.4% 0.090 269.9);
Tailwind
colors: {
  custom: {
    50: '#5c5c84',
    500: '#172253',
    950: '#000000',
  },
}
SCSS
$custom: #172253;
$custom-light: #5c5c84;
$custom-dark: #000000;
JSON
{
  "hex": "#172253",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 229,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27441,
    "c": 0.09024,
    "h": 269.9
  },
  "luminance": 0.01951
}

Semantic roles & 50–950 ramp

primary
#172253
secondary
#8A7C3C
accent
#C448E0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #172253

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

Preview Lab → · Contrast checker → · Palette generator →

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