#17225C#17225C

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

Color values

HEX#17225C
RGBrgb(23, 34, 92)
HSLhsl(230, 60%, 23%)
HSVhsv(230, 75%, 36%)
CMYKcmyk(75%, 63%, 0%, 63.9%)
CIE-LABlab(16.00, 17.54, -36.19)
CIE-LCHlch(16.00, 40.22, 295.86°)
OKLaboklab(28.26% 0.0003 -0.1043)
OKLCHoklch(28.26% 0.104 270.2)
XYZxyz(2.8565, 2.0986, 10.3777)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17225C #5C5117
analogous
#17445C #17225C #2F175C
triadic
#17225C #5C1722 #225C17
tetradic
#17225C #5C1744 #5C5117 #175C2F
square
#17225C #5C1744 #5C5117 #175C2F
split-complementary
#17225C #5C2F17 #445C17
monochromatic
#060918 #0B102B #17225C #23348D #2F46BE

Accessibility & contrast

On white

14.79
#17225C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17225C
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17225C#FFFFFF#000000##FFFFFF
##17225C1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#00255B
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17225c;
/* rgb */ color: rgb(23, 34, 92);
/* oklch */ color: oklch(28.3% 0.104 270.2);
Tailwind
colors: {
  custom: {
    50: '#5f5c8b',
    500: '#17225c',
    950: '#000000',
  },
}
SCSS
$custom: #17225c;
$custom-light: #5f5c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#17225c",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 230.435,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28261,
    "c": 0.10434,
    "h": 270.2
  },
  "luminance": 0.02099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17225C

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

Preview Lab → · Contrast checker → · Palette generator →

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