#17267C#17267C

#17267C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.146 H 268.5°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#17267C
RGBrgb(23, 38, 124)
HSLhsl(231, 69%, 29%)
HSVhsv(231, 81%, 49%)
CMYKcmyk(81.5%, 69.4%, 0%, 51.4%)
CIE-LABlab(20.14, 27.55, -50.24)
CIE-LCHlch(20.14, 57.30, 298.74°)
OKLaboklab(32.25% -0.0037 -0.1455)
OKLCHoklch(32.25% 0.146 268.5)
XYZxyz(4.6833, 3.0231, 19.4016)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17267C #7C6D17
analogous
#17597C #17267C #3B177C
triadic
#17267C #7C1726 #267C17
tetradic
#17267C #7C1759 #7C6D17 #177C3B
square
#17267C #7C1759 #7C6D17 #177C3B
split-complementary
#17267C #7C3B17 #597C17
monochromatic
#05081A #0D1648 #17267C #2136B0 #344DD9

Accessibility & contrast

On white

13.09
#17267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#17267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17267C
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17267C#FFFFFF#000000##FFFFFF
##17267C1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #17267c;
/* rgb */ color: rgb(23, 38, 124);
/* oklch */ color: oklch(32.3% 0.146 268.5);
Tailwind
colors: {
  custom: {
    50: '#6760a3',
    500: '#17267c',
    950: '#000000',
  },
}
SCSS
$custom: #17267c;
$custom-light: #6760a3;
$custom-dark: #000000;
JSON
{
  "hex": "#17267c",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 231.089,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3225,
    "c": 0.14551,
    "h": 268.5
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#17267C
secondary
#B1A03E
accent
#D23CEC
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17267C

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

Preview Lab → · Contrast checker → · Palette generator →

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