#172963#172963

#172963 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.105 H 266.9°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#172963
RGBrgb(23, 41, 99)
HSLhsl(226, 62%, 24%)
HSVhsv(226, 77%, 39%)
CMYKcmyk(76.8%, 58.6%, 0%, 61.2%)
CIE-LABlab(18.66, 15.29, -36.49)
CIE-LCHlch(18.66, 39.57, 292.74°)
OKLaboklab(30.45% -0.0057 -0.1051)
OKLCHoklch(30.45% 0.105 266.9)
XYZxyz(3.3976, 2.6685, 12.1380)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172963 #635117
analogous
#174F63 #172963 #2B1763
triadic
#172963 #631729 #296317
tetradic
#172963 #63174F #635117 #17632B
square
#172963 #63174F #635117 #17632B
split-complementary
#172963 #632B17 #4F6317
monochromatic
#060A19 #0B1431 #172963 #233E95 #2E52C6

Accessibility & contrast

On white

13.69
#172963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#172963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172963
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172963#FFFFFF#000000##FFFFFF
##1729631.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172963;
/* rgb */ color: rgb(23, 41, 99);
/* oklch */ color: oklch(30.4% 0.105 266.9);
Tailwind
colors: {
  custom: {
    50: '#606290',
    500: '#172963',
    950: '#000000',
  },
}
SCSS
$custom: #172963;
$custom-light: #606290;
$custom-dark: #000000;
JSON
{
  "hex": "#172963",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 99
  },
  "hsl": {
    "h": 225.789,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30448,
    "c": 0.10526,
    "h": 266.9
  },
  "luminance": 0.02669
}

Semantic roles & 50–950 ramp

primary
#172963
secondary
#9A833C
accent
#BF42E5
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #172963

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

Preview Lab → · Contrast checker → · Palette generator →

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