#2515B4#2515B4

#2515B4 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.4% C 0.225 H 271.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2515B4
RGBrgb(37, 21, 180)
HSLhsl(246, 79%, 39%)
HSVhsv(246, 88%, 71%)
CMYKcmyk(79.4%, 88.3%, 0%, 29.4%)
CIE-LABlab(24.40, 55.99, -77.65)
CIE-LCHlch(24.40, 95.73, 305.80°)
OKLaboklab(37.35% 0.0062 -0.2245)
OKLCHoklch(37.35% 0.225 271.6)
XYZxyz(9.2666, 4.2239, 43.4981)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2515B4 #A4B415
analogous
#1554B4 #2515B4 #7515B4
triadic
#2515B4 #B42515 #15B425
tetradic
#2515B4 #B41554 #A4B415 #15B475
square
#2515B4 #B41554 #A4B415 #15B475
split-complementary
#2515B4 #B47515 #54B415
monochromatic
#0E0846 #1A0F7D #2515B4 #3521E5 #6758EC

Accessibility & contrast

On white

11.38
#2515B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2515B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2515B4
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2515B4#FFFFFF#000000##FFFFFF
##2515B41.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B8
Deuteranopia (green-blind)
#0032B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2515b4;
/* rgb */ color: rgb(37, 21, 180);
/* oklch */ color: oklch(37.4% 0.225 271.6);
Tailwind
colors: {
  custom: {
    50: '#7c5bcc',
    500: '#2515b4',
    950: '#000000',
  },
}
SCSS
$custom: #2515b4;
$custom-light: #7c5bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2515b4",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 246.038,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3735,
    "c": 0.22459,
    "h": 271.6
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#2515B4
secondary
#C2CF56
accent
#F632E2
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #2515B4

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

Preview Lab → · Contrast checker → · Palette generator →

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