#17266F#17266F

#17266F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.127 H 268.6°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#17266F
RGBrgb(23, 38, 111)
HSLhsl(230, 66%, 26%)
HSVhsv(230, 79%, 44%)
CMYKcmyk(79.3%, 65.8%, 0%, 56.5%)
CIE-LABlab(18.87, 22.38, -43.98)
CIE-LCHlch(18.87, 49.35, 296.97°)
OKLaboklab(30.93% -0.0031 -0.1272)
OKLCHoklch(30.93% 0.127 268.6)
XYZxyz(3.9147, 2.7157, 15.3537)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17266F #6F6017
analogous
#17526F #17266F #34176F
triadic
#17266F #6F1726 #266F17
tetradic
#17266F #6F1752 #6F6017 #176F34
square
#17266F #6F1752 #6F6017 #176F34
split-complementary
#17266F #6F3417 #526F17
monochromatic
#050919 #0C153C #17266F #2237A2 #2D49D3

Accessibility & contrast

On white

13.61
#17266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#17266F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17266F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17266F#FFFFFF#000000##FFFFFF
##17266F1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17266f;
/* rgb */ color: rgb(23, 38, 111);
/* oklch */ color: oklch(30.9% 0.127 268.6);
Tailwind
colors: {
  custom: {
    50: '#646099',
    500: '#17266f',
    950: '#000000',
  },
}
SCSS
$custom: #17266f;
$custom-light: #646099;
$custom-dark: #000000;
JSON
{
  "hex": "#17266f",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 229.773,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30931,
    "c": 0.12719,
    "h": 268.6
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#17266F
secondary
#A5933D
accent
#CC3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17266F

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

Preview Lab → · Contrast checker → · Palette generator →

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