#2915B3#2915B3

#2915B3 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.5% C 0.222 H 273.0°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2915B3
RGBrgb(41, 21, 179)
HSLhsl(248, 79%, 39%)
HSVhsv(248, 88%, 70%)
CMYKcmyk(77.1%, 88.3%, 0%, 29.8%)
CIE-LABlab(24.52, 55.89, -76.84)
CIE-LCHlch(24.52, 95.02, 306.03°)
OKLaboklab(37.46% 0.0116 -0.2221)
OKLCHoklch(37.46% 0.222 273)
XYZxyz(9.3166, 4.2614, 42.9706)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2915B3 #9FB315
analogous
#1550B3 #2915B3 #7815B3
triadic
#2915B3 #B32915 #15B329
tetradic
#2915B3 #B31550 #9FB315 #15B378
square
#2915B3 #B31550 #9FB315 #15B378
split-complementary
#2915B3 #B37815 #50B315
monochromatic
#100845 #1C0F7C #2915B3 #3920E5 #6A57EB

Accessibility & contrast

On white

11.34
#2915B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2915B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2915B3
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2915B3#FFFFFF#000000##FFFFFF
##2915B31.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B7
Deuteranopia (green-blind)
#0033B0
Tritanopia (blue-blind)
#004C69
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2915b3;
/* rgb */ color: rgb(41, 21, 179);
/* oklch */ color: oklch(37.5% 0.222 273.0);
Tailwind
colors: {
  custom: {
    50: '#7d5bcb',
    500: '#2915b3',
    950: '#000000',
  },
}
SCSS
$custom: #2915b3;
$custom-light: #7d5bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2915b3",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 179
  },
  "hsl": {
    "h": 247.595,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37461,
    "c": 0.22241,
    "h": 273
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#2915B3
secondary
#BFCE56
accent
#F532DD
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #2915B3

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

Preview Lab → · Contrast checker → · Palette generator →

#2915B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva