#2917A5#2917A5

#2917A5 is a dark, highly saturated blue. Relative luminance 0.038; OKLCH L 35.9% C 0.206 H 274.3°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#2917A5
RGBrgb(41, 23, 165)
HSLhsl(248, 76%, 37%)
HSVhsv(248, 86%, 65%)
CMYKcmyk(75.2%, 86.1%, 0%, 35.3%)
CIE-LABlab(23.00, 51.12, -70.93)
CIE-LCHlch(23.00, 87.43, 305.78°)
OKLaboklab(35.92% 0.0153 -0.205)
OKLCHoklch(35.92% 0.206 274.3)
XYZxyz(8.0101, 3.8000, 35.9013)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2917A5 #93A517
analogous
#174CA5 #2917A5 #7017A5
triadic
#2917A5 #A52917 #17A529
tetradic
#2917A5 #A5174C #93A517 #17A570
square
#2917A5 #A5174C #93A517 #17A570
split-complementary
#2917A5 #A57017 #4CA517
monochromatic
#0E083A #1C106F #2917A5 #361EDB #6350E7

Accessibility & contrast

On white

11.93
#2917A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2917A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2917A5
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2917A5#FFFFFF#000000##FFFFFF
##2917A51.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA9
Deuteranopia (green-blind)
#0030A3
Tritanopia (blue-blind)
#004661
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2917a5;
/* rgb */ color: rgb(41, 23, 165);
/* oklch */ color: oklch(35.9% 0.206 274.3);
Tailwind
colors: {
  custom: {
    50: '#795bc1',
    500: '#2917a5',
    950: '#000000',
  },
}
SCSS
$custom: #2917a5;
$custom-light: #795bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2917a5",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 165
  },
  "hsl": {
    "h": 247.606,
    "s": 75.532,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35922,
    "c": 0.20561,
    "h": 274.3
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#2917A5
secondary
#B9C94F
accent
#F236DA
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #2917A5

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

Preview Lab → · Contrast checker → · Palette generator →

#2917A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva