#172863#172863

#172863 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.107 H 267.4°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#172863
RGBrgb(23, 40, 99)
HSLhsl(227, 62%, 24%)
HSVhsv(227, 77%, 39%)
CMYKcmyk(76.8%, 59.6%, 0%, 61.2%)
CIE-LABlab(18.37, 16.03, -36.97)
CIE-LCHlch(18.37, 40.30, 293.43°)
OKLaboklab(30.22% -0.0048 -0.1065)
OKLCHoklch(30.22% 0.107 267.4)
XYZxyz(3.3635, 2.6002, 12.1266)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172863 #635217
analogous
#174E63 #172863 #2C1763
triadic
#172863 #631728 #286317
tetradic
#172863 #63174E #635217 #17632C
square
#172863 #63174E #635217 #17632C
split-complementary
#172863 #632C17 #4E6317
monochromatic
#060A19 #0B1431 #172863 #233C95 #2E50C6

Accessibility & contrast

On white

13.81
#172863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#172863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172863
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172863#FFFFFF#000000##FFFFFF
##1728631.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172863;
/* rgb */ color: rgb(23, 40, 99);
/* oklch */ color: oklch(30.2% 0.107 267.4);
Tailwind
colors: {
  custom: {
    50: '#606190',
    500: '#172863',
    950: '#000000',
  },
}
SCSS
$custom: #172863;
$custom-light: #606190;
$custom-dark: #000000;
JSON
{
  "hex": "#172863",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 226.579,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30223,
    "c": 0.10666,
    "h": 267.4
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#172863
secondary
#9A853C
accent
#C142E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #172863

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

Preview Lab → · Contrast checker → · Palette generator →

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