#17265E#17265E

#17265E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.102 H 268.1°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#17265E
RGBrgb(23, 38, 94)
HSLhsl(227, 61%, 23%)
HSVhsv(227, 76%, 37%)
CMYKcmyk(75.5%, 59.6%, 0%, 63.1%)
CIE-LABlab(17.35, 15.42, -35.32)
CIE-LCHlch(17.35, 38.54, 293.58°)
OKLaboklab(29.33% -0.0033 -0.1017)
OKLCHoklch(29.33% 0.102 268.1)
XYZxyz(3.0661, 2.3762, 10.8846)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17265E #5E4F17
analogous
#17495E #17265E #2B175E
triadic
#17265E #5E1726 #265E17
tetradic
#17265E #5E1749 #5E4F17 #175E2B
square
#17265E #5E1749 #5E4F17 #175E2B
split-complementary
#17265E #5E2B17 #495E17
monochromatic
#060A19 #0B122D #17265E #233A8F #2F4EC0

Accessibility & contrast

On white

14.23
#17265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#17265E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17265E
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17265E#FFFFFF#000000##FFFFFF
##17265E1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17265e;
/* rgb */ color: rgb(23, 38, 94);
/* oklch */ color: oklch(29.3% 0.102 268.1);
Tailwind
colors: {
  custom: {
    50: '#5f5f8c',
    500: '#17265e',
    950: '#000000',
  },
}
SCSS
$custom: #17265e;
$custom-light: #5f5f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#17265e",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 227.324,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29327,
    "c": 0.10177,
    "h": 268.1
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#17265E
secondary
#95823C
accent
#C244E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17265E

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

Preview Lab → · Contrast checker → · Palette generator →

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