#2515A0#2515A0

#2515A0 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.9% C 0.202 H 273.4°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#2515A0
RGBrgb(37, 21, 160)
HSLhsl(247, 77%, 35%)
HSVhsv(247, 87%, 63%)
CMYKcmyk(76.9%, 86.9%, 0%, 37.3%)
CIE-LABlab(21.82, 50.22, -69.85)
CIE-LCHlch(21.82, 86.02, 305.72°)
OKLaboklab(34.87% 0.0119 -0.2019)
OKLCHoklch(34.87% 0.202 273.4)
XYZxyz(7.3742, 3.4669, 33.5314)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2515A0 #90A015
analogous
#154BA0 #2515A0 #6A15A0
triadic
#2515A0 #A02515 #15A025
tetradic
#2515A0 #A0154B #90A015 #15A06A
square
#2515A0 #A0154B #90A015 #15A06A
split-complementary
#2515A0 #A06A15 #4BA015
monochromatic
#0C0734 #180E6A #2515A0 #321CD6 #5B48E7

Accessibility & contrast

On white

12.40
#2515A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2515A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2515A0
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2515A0#FFFFFF#000000##FFFFFF
##2515A01.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA4
Deuteranopia (green-blind)
#002E9E
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2515a0;
/* rgb */ color: rgb(37, 21, 160);
/* oklch */ color: oklch(34.9% 0.202 273.4);
Tailwind
colors: {
  custom: {
    50: '#7759be',
    500: '#2515a0',
    950: '#000000',
  },
}
SCSS
$custom: #2515a0;
$custom-light: #7759be;
$custom-dark: #000000;
JSON
{
  "hex": "#2515a0",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 246.906,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34867,
    "c": 0.20228,
    "h": 273.4
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#2515A0
secondary
#B9C849
accent
#F334DD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2515A0

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

Preview Lab → · Contrast checker → · Palette generator →

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