#17265F#17265F

#17265F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.103 H 268.2°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#17265F
RGBrgb(23, 38, 95)
HSLhsl(228, 61%, 23%)
HSVhsv(228, 76%, 37%)
CMYKcmyk(75.8%, 60%, 0%, 62.7%)
CIE-LABlab(17.43, 15.83, -35.85)
CIE-LCHlch(17.43, 39.19, 293.83°)
OKLaboklab(29.42% -0.0032 -0.1033)
OKLCHoklch(29.42% 0.103 268.2)
XYZxyz(3.1113, 2.3943, 11.1224)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17265F #5F5017
analogous
#174A5F #17265F #2C175F
triadic
#17265F #5F1726 #265F17
tetradic
#17265F #5F174A #5F5017 #175F2C
square
#17265F #5F174A #5F5017 #175F2C
split-complementary
#17265F #5F2C17 #4A5F17
monochromatic
#060A19 #0B122E #17265F #233A90 #2F4DC2

Accessibility & contrast

On white

14.20
#17265F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17265F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17265F#FFFFFF#000000##FFFFFF
##17265F1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17265f;
/* rgb */ color: rgb(23, 38, 95);
/* oklch */ color: oklch(29.4% 0.103 268.2);
Tailwind
colors: {
  custom: {
    50: '#5f5f8d',
    500: '#17265f',
    950: '#000000',
  },
}
SCSS
$custom: #17265f;
$custom-light: #5f5f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#17265f",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 95
  },
  "hsl": {
    "h": 227.5,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29417,
    "c": 0.10332,
    "h": 268.2
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

primary
#17265F
secondary
#96833C
accent
#C344E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17265F

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

Preview Lab → · Contrast checker → · Palette generator →

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