#172245#172245

#172245 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.3% C 0.067 H 268.4°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#172245
RGBrgb(23, 34, 69)
HSLhsl(226, 50%, 18%)
HSVhsv(226, 67%, 27%)
CMYKcmyk(66.7%, 50.7%, 0%, 72.9%)
CIE-LABlab(14.15, 8.07, -23.54)
CIE-LCHlch(14.15, 24.88, 288.92°)
OKLaboklab(26.28% -0.0019 -0.0671)
OKLCHoklch(26.28% 0.067 268.4)
XYZxyz(1.9992, 1.7557, 5.8626)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172245 #453A17
analogous
#173945 #172245 #231745
triadic
#172245 #451722 #224517
tetradic
#172245 #451739 #453A17 #174523
square
#172245 #451739 #453A17 #174523
split-complementary
#172245 #452317 #394517
monochromatic
#080B17 #080B17 #172245 #263973 #364FA1

Accessibility & contrast

On white

15.54
#172245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#172245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172245
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172245#FFFFFF#000000##FFFFFF
##1722451.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122646
Deuteranopia (green-blind)
#0B2244
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #172245;
/* rgb */ color: rgb(23, 34, 69);
/* oklch */ color: oklch(26.3% 0.067 268.4);
Tailwind
colors: {
  custom: {
    50: '#595c79',
    500: '#172245',
    950: '#000000',
  },
}
SCSS
$custom: #172245;
$custom-light: #595c79;
$custom-dark: #000000;
JSON
{
  "hex": "#172245",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 225.652,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2628,
    "c": 0.06716,
    "h": 268.4
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#172245
secondary
#7C6D3C
accent
#B84EDA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #172245

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

Preview Lab → · Contrast checker → · Palette generator →

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