#17296B#17296B

#17296B is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.2% C 0.117 H 267.4°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#17296B
RGBrgb(23, 41, 107)
HSLhsl(227, 65%, 25%)
HSVhsv(227, 79%, 42%)
CMYKcmyk(78.5%, 61.7%, 0%, 58%)
CIE-LABlab(19.35, 18.60, -40.61)
CIE-LCHlch(19.35, 44.67, 294.61°)
OKLaboklab(31.17% -0.0053 -0.1172)
OKLCHoklch(31.17% 0.117 267.4)
XYZxyz(3.7992, 2.8292, 14.2529)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17296B #6B5917
analogous
#17536B #17296B #2F176B
triadic
#17296B #6B1729 #296B17
tetradic
#17296B #6B1753 #6B5917 #176B2F
square
#17296B #6B1753 #6B5917 #176B2F
split-complementary
#17296B #6B2F17 #536B17
monochromatic
#050A19 #0C1639 #17296B #223C9D #2D50D0

Accessibility & contrast

On white

13.41
#17296B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#17296B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17296B
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17296B#FFFFFF#000000##FFFFFF
##17296B1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#002B6A
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17296b;
/* rgb */ color: rgb(23, 41, 107);
/* oklch */ color: oklch(31.2% 0.117 267.4);
Tailwind
colors: {
  custom: {
    50: '#626296',
    500: '#17296b',
    950: '#000000',
  },
}
SCSS
$custom: #17296b;
$custom-light: #626296;
$custom-dark: #000000;
JSON
{
  "hex": "#17296b",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 227.143,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31173,
    "c": 0.11733,
    "h": 267.4
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#17296B
secondary
#A18C3D
accent
#C440E8
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #17296B

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

Preview Lab → · Contrast checker → · Palette generator →

#17296B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva