#172365#172365

#172365 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.3% C 0.117 H 269.7°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#172365
RGBrgb(23, 35, 101)
HSLhsl(231, 63%, 24%)
HSVhsv(231, 77%, 40%)
CMYKcmyk(77.2%, 65.3%, 0%, 60.4%)
CIE-LABlab(17.10, 20.48, -40.35)
CIE-LCHlch(17.10, 45.25, 296.91°)
OKLaboklab(29.34% -0.0006 -0.1165)
OKLCHoklch(29.34% 0.117 269.7)
XYZxyz(3.3025, 2.3235, 12.5838)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172365 #655917
analogous
#174A65 #172365 #321765
triadic
#172365 #651723 #236517
tetradic
#172365 #65174A #655917 #176532
square
#172365 #65174A #655917 #176532
split-complementary
#172365 #653217 #4A6517
monochromatic
#060919 #0C1233 #172365 #223497 #2E46C9

Accessibility & contrast

On white

14.34
#172365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#172365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172365
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172365#FFFFFF#000000##FFFFFF
##1723651.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#003440
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172365;
/* rgb */ color: rgb(23, 35, 101);
/* oklch */ color: oklch(29.3% 0.117 269.7);
Tailwind
colors: {
  custom: {
    50: '#615d92',
    500: '#172365',
    950: '#000000',
  },
}
SCSS
$custom: #172365;
$custom-light: #615d92;
$custom-dark: #000000;
JSON
{
  "hex": "#172365",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 101
  },
  "hsl": {
    "h": 230.769,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29335,
    "c": 0.11653,
    "h": 269.7
  },
  "luminance": 0.02324
}

Semantic roles & 50–950 ramp

primary
#172365
secondary
#9B8D3C
accent
#CD42E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172365

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

Preview Lab → · Contrast checker → · Palette generator →

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