#17225A#17225A

#17225A is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.101 H 270.1°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#17225A
RGBrgb(23, 34, 90)
HSLhsl(230, 59%, 22%)
HSVhsv(230, 74%, 35%)
CMYKcmyk(74.4%, 62.2%, 0%, 64.7%)
CIE-LABlab(15.82, 16.72, -35.14)
CIE-LCHlch(15.82, 38.92, 295.44°)
OKLaboklab(28.07% 0.0002 -0.1013)
OKLCHoklch(28.07% 0.101 270.1)
XYZxyz(2.7702, 2.0641, 9.9233)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17225A #5A4F17
analogous
#17445A #17225A #2E175A
triadic
#17225A #5A1722 #225A17
tetradic
#17225A #5A1744 #5A4F17 #175A2E
square
#17225A #5A1744 #5A4F17 #175A2E
split-complementary
#17225A #5A2E17 #445A17
monochromatic
#060918 #0B1029 #17225A #23348B #3047BB

Accessibility & contrast

On white

14.86
#17225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#17225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17225A
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17225A#FFFFFF#000000##FFFFFF
##17225A1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#002459
Tritanopia (blue-blind)
#00303A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17225a;
/* rgb */ color: rgb(23, 34, 90);
/* oklch */ color: oklch(28.1% 0.101 270.1);
Tailwind
colors: {
  custom: {
    50: '#5e5c89',
    500: '#17225a',
    950: '#000000',
  },
}
SCSS
$custom: #17225a;
$custom-light: #5e5c89;
$custom-dark: #000000;
JSON
{
  "hex": "#17225a",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 230.149,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28074,
    "c": 0.10125,
    "h": 270.1
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#17225A
secondary
#91833C
accent
#C945E2
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #17225A

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

Preview Lab → · Contrast checker → · Palette generator →

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