#2515A1#2515A1

#2515A1 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 35.0% C 0.203 H 273.3°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#2515A1
RGBrgb(37, 21, 161)
HSLhsl(247, 77%, 36%)
HSVhsv(247, 87%, 63%)
CMYKcmyk(77%, 87%, 0%, 36.9%)
CIE-LABlab(21.95, 50.51, -70.24)
CIE-LCHlch(21.95, 86.52, 305.72°)
OKLaboklab(34.99% 0.0116 -0.2031)
OKLCHoklch(34.99% 0.203 273.3)
XYZxyz(7.4620, 3.5021, 33.9940)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2515A1 #91A115
analogous
#154BA1 #2515A1 #6B15A1
triadic
#2515A1 #A12515 #15A125
tetradic
#2515A1 #A1154B #91A115 #15A16B
square
#2515A1 #A1154B #91A115 #15A16B
split-complementary
#2515A1 #A16B15 #4BA115
monochromatic
#0C0735 #190E6B #2515A1 #311CD7 #5B49E7

Accessibility & contrast

On white

12.35
#2515A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2515A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2515A1
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2515A1#FFFFFF#000000##FFFFFF
##2515A11.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#002E9F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2515a1;
/* rgb */ color: rgb(37, 21, 161);
/* oklch */ color: oklch(35.0% 0.203 273.3);
Tailwind
colors: {
  custom: {
    50: '#7759be',
    500: '#2515a1',
    950: '#000000',
  },
}
SCSS
$custom: #2515a1;
$custom-light: #7759be;
$custom-dark: #000000;
JSON
{
  "hex": "#2515a1",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 246.857,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34991,
    "c": 0.20342,
    "h": 273.3
  },
  "luminance": 0.03503
}

Semantic roles & 50–950 ramp

primary
#2515A1
secondary
#BAC849
accent
#F334DE
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2515A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2515A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva