#172264#172264

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

Color values

HEX#172264
RGBrgb(23, 34, 100)
HSLhsl(231, 63%, 24%)
HSVhsv(231, 77%, 39%)
CMYKcmyk(77%, 66%, 0%, 60.8%)
CIE-LABlab(16.73, 20.80, -40.30)
CIE-LCHlch(16.73, 45.35, 297.29°)
OKLaboklab(29.03% 0.0002 -0.1164)
OKLCHoklch(29.03% 0.116 270.1)
XYZxyz(3.2248, 2.2460, 12.3177)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172264 #645917
analogous
#174964 #172264 #331764
triadic
#172264 #641722 #226417
tetradic
#172264 #641749 #645917 #176433
square
#172264 #641749 #645917 #176433
split-complementary
#172264 #643317 #496417
monochromatic
#060819 #0C1132 #172264 #223396 #2E44C8

Accessibility & contrast

On white

14.49
#172264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172264
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172264#FFFFFF#000000##FFFFFF
##1722641.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172264;
/* rgb */ color: rgb(23, 34, 100);
/* oklch */ color: oklch(29.0% 0.116 270.1);
Tailwind
colors: {
  custom: {
    50: '#615d91',
    500: '#172264',
    950: '#000000',
  },
}
SCSS
$custom: #172264;
$custom-light: #615d91;
$custom-dark: #000000;
JSON
{
  "hex": "#172264",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 231.429,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29031,
    "c": 0.1164,
    "h": 270.1
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#172264
secondary
#9A8D3C
accent
#CE42E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172264

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

Preview Lab → · Contrast checker → · Palette generator →

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