#17225F#17225F

#17225F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.109 H 270.2°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#17225F
RGBrgb(23, 34, 95)
HSLhsl(231, 61%, 23%)
HSVhsv(231, 76%, 37%)
CMYKcmyk(75.8%, 64.2%, 0%, 62.7%)
CIE-LABlab(16.27, 18.76, -37.75)
CIE-LCHlch(16.27, 42.16, 296.43°)
OKLaboklab(28.55% 0.0003 -0.1089)
OKLCHoklch(28.55% 0.109 270.2)
XYZxyz(2.9902, 2.1521, 11.0821)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17225F #5F5417
analogous
#17465F #17225F #30175F
triadic
#17225F #5F1722 #225F17
tetradic
#17225F #5F1746 #5F5417 #175F30
square
#17225F #5F1746 #5F5417 #175F30
split-complementary
#17225F #5F3017 #465F17
monochromatic
#060919 #0B102E #17225F #233490 #2F45C2

Accessibility & contrast

On white

14.68
#17225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#17225F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17225F
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17225F#FFFFFF#000000##FFFFFF
##17225F1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17225f;
/* rgb */ color: rgb(23, 34, 95);
/* oklch */ color: oklch(28.5% 0.109 270.2);
Tailwind
colors: {
  custom: {
    50: '#605c8d',
    500: '#17225f',
    950: '#000000',
  },
}
SCSS
$custom: #17225f;
$custom-light: #605c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#17225f",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 230.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28546,
    "c": 0.10891,
    "h": 270.2
  },
  "luminance": 0.02152
}

Semantic roles & 50–950 ramp

primary
#17225F
secondary
#96883C
accent
#CC44E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17225F

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

Preview Lab → · Contrast checker → · Palette generator →

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