#172463#172463

#172463 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.4% C 0.112 H 269.3°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#172463
RGBrgb(23, 36, 99)
HSLhsl(230, 62%, 24%)
HSVhsv(230, 77%, 39%)
CMYKcmyk(76.8%, 63.6%, 0%, 61.2%)
CIE-LABlab(17.20, 18.94, -38.87)
CIE-LCHlch(17.20, 43.24, 295.98°)
OKLaboklab(29.35% -0.0014 -0.1122)
OKLCHoklch(29.35% 0.112 269.3)
XYZxyz(3.2356, 2.3444, 12.0840)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172463 #635617
analogous
#174A63 #172463 #301763
triadic
#172463 #631724 #246317
tetradic
#172463 #63174A #635617 #176330
square
#172463 #63174A #635617 #176330
split-complementary
#172463 #633017 #4A6317
monochromatic
#060919 #0B1231 #172463 #233695 #2E48C6

Accessibility & contrast

On white

14.30
#172463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#172463 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172463
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172463#FFFFFF#000000##FFFFFF
##1724631.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#00343F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172463;
/* rgb */ color: rgb(23, 36, 99);
/* oklch */ color: oklch(29.4% 0.112 269.3);
Tailwind
colors: {
  custom: {
    50: '#605e90',
    500: '#172463',
    950: '#000000',
  },
}
SCSS
$custom: #172463;
$custom-light: #605e90;
$custom-dark: #000000;
JSON
{
  "hex": "#172463",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 99
  },
  "hsl": {
    "h": 229.737,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29352,
    "c": 0.11219,
    "h": 269.3
  },
  "luminance": 0.02345
}

Semantic roles & 50–950 ramp

primary
#172463
secondary
#9A8A3C
accent
#C942E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #172463

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

Preview Lab → · Contrast checker → · Palette generator →

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