#17265A#17265A

#17265A is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.096 H 267.9°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#17265A
RGBrgb(23, 38, 90)
HSLhsl(227, 59%, 22%)
HSVhsv(227, 74%, 35%)
CMYKcmyk(74.4%, 57.8%, 0%, 64.7%)
CIE-LABlab(17.02, 13.76, -33.20)
CIE-LCHlch(17.02, 35.94, 292.51°)
OKLaboklab(28.97% -0.0036 -0.0955)
OKLCHoklch(28.97% 0.096 267.9)
XYZxyz(2.8913, 2.3063, 9.9637)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17265A #5A4B17
analogous
#17485A #17265A #2A175A
triadic
#17265A #5A1726 #265A17
tetradic
#17265A #5A1748 #5A4B17 #175A2A
square
#17265A #5A1748 #5A4B17 #175A2A
split-complementary
#17265A #5A2A17 #485A17
monochromatic
#060A18 #0B1129 #17265A #233B8B #304FBB

Accessibility & contrast

On white

14.37
#17265A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#17265A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17265A
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17265A#FFFFFF#000000##FFFFFF
##17265A1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032D5C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17265a;
/* rgb */ color: rgb(23, 38, 90);
/* oklch */ color: oklch(29.0% 0.096 267.9);
Tailwind
colors: {
  custom: {
    50: '#5e5f89',
    500: '#17265a',
    950: '#000000',
  },
}
SCSS
$custom: #17265a;
$custom-light: #5e5f89;
$custom-dark: #000000;
JSON
{
  "hex": "#17265a",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 90
  },
  "hsl": {
    "h": 226.567,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28974,
    "c": 0.09554,
    "h": 267.9
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#17265A
secondary
#917E3C
accent
#BF45E2
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #17265A

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

Preview Lab → · Contrast checker → · Palette generator →

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