#17225D#17225D

#17225D is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.106 H 270.2°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#17225D
RGBrgb(23, 34, 93)
HSLhsl(231, 60%, 23%)
HSVhsv(231, 75%, 36%)
CMYKcmyk(75.3%, 63.4%, 0%, 63.5%)
CIE-LABlab(16.09, 17.95, -36.71)
CIE-LCHlch(16.09, 40.86, 296.05°)
OKLaboklab(28.36% 0.0003 -0.1059)
OKLCHoklch(28.36% 0.106 270.2)
XYZxyz(2.9005, 2.1162, 10.6094)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17225D #5D5217
analogous
#17455D #17225D #2F175D
triadic
#17225D #5D1722 #225D17
tetradic
#17225D #5D1745 #5D5217 #175D2F
square
#17225D #5D1745 #5D5217 #175D2F
split-complementary
#17225D #5D2F17 #455D17
monochromatic
#060919 #0B102C #17225D #23348E #2F46BF

Accessibility & contrast

On white

14.75
#17225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#17225D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17225D
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17225D#FFFFFF#000000##FFFFFF
##17225D1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#00255C
Tritanopia (blue-blind)
#00313B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17225d;
/* rgb */ color: rgb(23, 34, 93);
/* oklch */ color: oklch(28.4% 0.106 270.2);
Tailwind
colors: {
  custom: {
    50: '#5f5c8b',
    500: '#17225d',
    950: '#000000',
  },
}
SCSS
$custom: #17225d;
$custom-light: #5f5c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#17225d",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 230.571,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28355,
    "c": 0.10587,
    "h": 270.2
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#17225D
secondary
#94863C
accent
#CA44E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17225D

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

Preview Lab → · Contrast checker → · Palette generator →

#17225D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva