#17268F#17268F

#17268F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.171 H 268.1°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#17268F
RGBrgb(23, 38, 143)
HSLhsl(233, 72%, 33%)
HSVhsv(233, 84%, 56%)
CMYKcmyk(83.9%, 73.4%, 0%, 43.9%)
CIE-LABlab(22.13, 34.78, -58.90)
CIE-LCHlch(22.13, 68.40, 300.56°)
OKLaboklab(34.29% -0.0055 -0.1707)
OKLCHoklch(34.29% 0.171 268.1)
XYZxyz(6.0027, 3.5508, 26.3503)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17268F #8F8017
analogous
#17628F #17268F #44178F
triadic
#17268F #8F1726 #268F17
tetradic
#17268F #8F1762 #8F8017 #178F44
square
#17268F #8F1762 #8F8017 #178F44
split-complementary
#17268F #8F4417 #628F17
monochromatic
#060A26 #0F185A #17268F #1F34C4 #4054E0

Accessibility & contrast

On white

12.28
#17268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#17268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17268F
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17268F#FFFFFF#000000##FFFFFF
##17268F1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #17268f;
/* rgb */ color: rgb(23, 38, 143);
/* oklch */ color: oklch(34.3% 0.171 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d61b1',
    500: '#17268f',
    950: '#000000',
  },
}
SCSS
$custom: #17268f;
$custom-light: #6d61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#17268f",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 232.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34291,
    "c": 0.17078,
    "h": 268.1
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#17268F
secondary
#C1B141
accent
#D839EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #17268F

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

Preview Lab → · Contrast checker → · Palette generator →

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