#172763#172763

#172763 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.0% C 0.108 H 267.9°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#172763
RGBrgb(23, 39, 99)
HSLhsl(227, 62%, 24%)
HSVhsv(227, 77%, 39%)
CMYKcmyk(76.8%, 60.6%, 0%, 61.2%)
CIE-LABlab(18.07, 16.76, -37.45)
CIE-LCHlch(18.07, 41.03, 294.10°)
OKLaboklab(30% -0.0039 -0.108)
OKLCHoklch(30% 0.108 267.9)
XYZxyz(3.3302, 2.5337, 12.1155)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172763 #635317
analogous
#174D63 #172763 #2D1763
triadic
#172763 #631727 #276317
tetradic
#172763 #63174D #635317 #17632D
square
#172763 #63174D #635317 #17632D
split-complementary
#172763 #632D17 #4D6317
monochromatic
#060A19 #0B1331 #172763 #233B95 #2E4EC6

Accessibility & contrast

On white

13.94
#172763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#172763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172763
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172763#FFFFFF#000000##FFFFFF
##1727631.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#003640
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172763;
/* rgb */ color: rgb(23, 39, 99);
/* oklch */ color: oklch(30.0% 0.108 267.9);
Tailwind
colors: {
  custom: {
    50: '#606090',
    500: '#172763',
    950: '#000000',
  },
}
SCSS
$custom: #172763;
$custom-light: #606090;
$custom-dark: #000000;
JSON
{
  "hex": "#172763",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 99
  },
  "hsl": {
    "h": 227.368,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30001,
    "c": 0.10804,
    "h": 267.9
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#172763
secondary
#9A863C
accent
#C342E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #172763

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

Preview Lab → · Contrast checker → · Palette generator →

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