#17266E#17266E

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

Color values

HEX#17266E
RGBrgb(23, 38, 110)
HSLhsl(230, 65%, 26%)
HSVhsv(230, 79%, 43%)
CMYKcmyk(79.1%, 65.5%, 0%, 56.9%)
CIE-LABlab(18.77, 21.98, -43.49)
CIE-LCHlch(18.77, 48.73, 296.81°)
OKLaboklab(30.83% -0.003 -0.1257)
OKLCHoklch(30.83% 0.126 268.6)
XYZxyz(3.8600, 2.6938, 15.0653)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17266E #6E5F17
analogous
#17516E #17266E #33176E
triadic
#17266E #6E1726 #266E17
tetradic
#17266E #6E1751 #6E5F17 #176E33
square
#17266E #6E1751 #6E5F17 #176E33
split-complementary
#17266E #6E3317 #516E17
monochromatic
#050919 #0C153B #17266E #2237A1 #2C49D3

Accessibility & contrast

On white

13.65
#17266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17266E
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17266E#FFFFFF#000000##FFFFFF
##17266E1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17266e;
/* rgb */ color: rgb(23, 38, 110);
/* oklch */ color: oklch(30.8% 0.126 268.6);
Tailwind
colors: {
  custom: {
    50: '#636098',
    500: '#17266e',
    950: '#000000',
  },
}
SCSS
$custom: #17266e;
$custom-light: #636098;
$custom-dark: #000000;
JSON
{
  "hex": "#17266e",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 229.655,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30832,
    "c": 0.12575,
    "h": 268.6
  },
  "luminance": 0.02694
}

Semantic roles & 50–950 ramp

primary
#17266E
secondary
#A4923D
accent
#CB3FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17266E

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

Preview Lab → · Contrast checker → · Palette generator →

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