#17265C#17265C

#17265C is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.099 H 268.0°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#17265C
RGBrgb(23, 38, 92)
HSLhsl(227, 60%, 23%)
HSVhsv(227, 75%, 36%)
CMYKcmyk(75%, 58.7%, 0%, 63.9%)
CIE-LABlab(17.18, 14.59, -34.26)
CIE-LCHlch(17.18, 37.24, 293.07°)
OKLaboklab(29.15% -0.0034 -0.0986)
OKLCHoklch(29.15% 0.099 268)
XYZxyz(2.9776, 2.3408, 10.4180)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17265C #5C4D17
analogous
#17485C #17265C #2B175C
triadic
#17265C #5C1726 #265C17
tetradic
#17265C #5C1748 #5C4D17 #175C2B
square
#17265C #5C1748 #5C4D17 #175C2B
split-complementary
#17265C #5C2B17 #485C17
monochromatic
#060A18 #0B122B #17265C #233A8D #2F4EBE

Accessibility & contrast

On white

14.30
#17265C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#17265C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17265C
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17265C#FFFFFF#000000##FFFFFF
##17265C1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17265c;
/* rgb */ color: rgb(23, 38, 92);
/* oklch */ color: oklch(29.1% 0.099 268.0);
Tailwind
colors: {
  custom: {
    50: '#5e5f8b',
    500: '#17265c',
    950: '#000000',
  },
}
SCSS
$custom: #17265c;
$custom-light: #5e5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#17265c",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 92
  },
  "hsl": {
    "h": 226.957,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29149,
    "c": 0.09867,
    "h": 268
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#17265C
secondary
#93803C
accent
#C145E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17265C

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

Preview Lab → · Contrast checker → · Palette generator →

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