#172265#172265

#172265 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.118 H 270.1°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#172265
RGBrgb(23, 34, 101)
HSLhsl(232, 63%, 24%)
HSVhsv(232, 77%, 40%)
CMYKcmyk(77.2%, 66.3%, 0%, 60.4%)
CIE-LABlab(16.82, 21.20, -40.80)
CIE-LCHlch(16.82, 45.98, 297.45°)
OKLaboklab(29.13% 0.0002 -0.1179)
OKLCHoklch(29.13% 0.118 270.1)
XYZxyz(3.2735, 2.2655, 12.5742)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172265 #655A17
analogous
#174965 #172265 #331765
triadic
#172265 #651722 #226517
tetradic
#172265 #651749 #655A17 #176533
square
#172265 #651749 #655A17 #176533
split-complementary
#172265 #653317 #496517
monochromatic
#060819 #0C1133 #172265 #223397 #2E44C9

Accessibility & contrast

On white

14.45
#172265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172265
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172265#FFFFFF#000000##FFFFFF
##1722651.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002664
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172265;
/* rgb */ color: rgb(23, 34, 101);
/* oklch */ color: oklch(29.1% 0.118 270.1);
Tailwind
colors: {
  custom: {
    50: '#615d92',
    500: '#172265',
    950: '#000000',
  },
}
SCSS
$custom: #172265;
$custom-light: #615d92;
$custom-dark: #000000;
JSON
{
  "hex": "#172265",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 231.538,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.2913,
    "c": 0.11788,
    "h": 270.1
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#172265
secondary
#9B8E3C
accent
#CF42E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172265

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

Preview Lab → · Contrast checker → · Palette generator →

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