#172363#172363

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

Color values

HEX#172363
RGBrgb(23, 35, 99)
HSLhsl(231, 62%, 24%)
HSVhsv(231, 77%, 39%)
CMYKcmyk(76.8%, 64.6%, 0%, 61.2%)
CIE-LABlab(16.92, 19.67, -39.34)
CIE-LCHlch(16.92, 43.98, 296.57°)
OKLaboklab(29.14% -0.0006 -0.1136)
OKLCHoklch(29.14% 0.114 269.7)
XYZxyz(3.2057, 2.2847, 12.0740)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172363 #635717
analogous
#174963 #172363 #311763
triadic
#172363 #631723 #236317
tetradic
#172363 #631749 #635717 #176331
square
#172363 #631749 #635717 #176331
split-complementary
#172363 #633117 #496317
monochromatic
#060919 #0B1131 #172363 #233595 #2E46C6

Accessibility & contrast

On white

14.41
#172363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172363
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172363#FFFFFF#000000##FFFFFF
##1723631.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172363;
/* rgb */ color: rgb(23, 35, 99);
/* oklch */ color: oklch(29.1% 0.114 269.7);
Tailwind
colors: {
  custom: {
    50: '#605d90',
    500: '#172363',
    950: '#000000',
  },
}
SCSS
$custom: #172363;
$custom-light: #605d90;
$custom-dark: #000000;
JSON
{
  "hex": "#172363",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 99
  },
  "hsl": {
    "h": 230.526,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29141,
    "c": 0.11356,
    "h": 269.7
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#172363
secondary
#9A8B3C
accent
#CC42E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #172363

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

Preview Lab → · Contrast checker → · Palette generator →

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