#2515E2#2515E2

#2515E2 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 43.1% C 0.273 H 268.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2515E2
RGBrgb(37, 21, 226)
HSLhsl(245, 83%, 48%)
HSVhsv(245, 91%, 89%)
CMYKcmyk(83.6%, 90.7%, 0%, 11.4%)
CIE-LABlab(30.45, 68.52, -94.48)
CIE-LCHlch(30.45, 116.71, 305.95°)
OKLaboklab(43.13% -0.0052 -0.2731)
OKLCHoklch(43.13% 0.273 268.9)
XYZxyz(14.7539, 6.4188, 72.3981)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2515E2 #D2E215
analogous
#156BE2 #2515E2 #8B15E2
triadic
#2515E2 #E22515 #15E225
tetradic
#2515E2 #E2156B #D2E215 #15E28B
square
#2515E2 #E2156B #D2E215 #15E28B
split-complementary
#2515E2 #E28B15 #6BE215
monochromatic
#130B72 #1C10AA #2515E2 #5346EE #877EF3

Accessibility & contrast

On white

9.19
#2515E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2515E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2515E2
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2515E2#FFFFFF#000000##FFFFFF
##2515E21.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052E7
Deuteranopia (green-blind)
#003DDF
Tritanopia (blue-blind)
#006085
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2515e2;
/* rgb */ color: rgb(37, 21, 226);
/* oklch */ color: oklch(43.1% 0.273 268.9);
Tailwind
colors: {
  custom: {
    50: '#8760ed',
    500: '#2515e2',
    950: '#000000',
  },
}
SCSS
$custom: #2515e2;
$custom-light: #8760ed;
$custom-dark: #000000;
JSON
{
  "hex": "#2515e2",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 226
  },
  "hsl": {
    "h": 244.683,
    "s": 82.996,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43131,
    "c": 0.27318,
    "h": 268.9
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#2515E2
secondary
#D3DB78
accent
#F92EE9
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0517
muted
#7E7A85

Preview Lab

Preview with #2515E2

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

Preview Lab → · Contrast checker → · Palette generator →

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