#172263#172263

#172263 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.115 H 270.1°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#172263
RGBrgb(23, 34, 99)
HSLhsl(231, 62%, 24%)
HSVhsv(231, 77%, 39%)
CMYKcmyk(76.8%, 65.7%, 0%, 61.2%)
CIE-LABlab(16.63, 20.39, -39.79)
CIE-LCHlch(16.63, 44.71, 297.13°)
OKLaboklab(28.93% 0.0002 -0.1149)
OKLCHoklch(28.93% 0.115 270.1)
XYZxyz(3.1767, 2.2267, 12.0643)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172263 #635817
analogous
#174863 #172263 #321763
triadic
#172263 #631722 #226317
tetradic
#172263 #631748 #635817 #176332
square
#172263 #631748 #635817 #176332
split-complementary
#172263 #633217 #486317
monochromatic
#060919 #0B1131 #172263 #233395 #2E44C6

Accessibility & contrast

On white

14.53
#172263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#172263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172263
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172263#FFFFFF#000000##FFFFFF
##1722631.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172263;
/* rgb */ color: rgb(23, 34, 99);
/* oklch */ color: oklch(28.9% 0.115 270.1);
Tailwind
colors: {
  custom: {
    50: '#615c90',
    500: '#172263',
    950: '#000000',
  },
}
SCSS
$custom: #172263;
$custom-light: #615c90;
$custom-dark: #000000;
JSON
{
  "hex": "#172263",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 231.316,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28933,
    "c": 0.11491,
    "h": 270.1
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#172263
secondary
#9A8C3C
accent
#CE42E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040D
muted
#7A797D

Preview Lab

Preview with #172263

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

Preview Lab → · Contrast checker → · Palette generator →

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