#2515CA#2515CA

#2515CA is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 40.1% C 0.248 H 270.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2515CA
RGBrgb(37, 21, 202)
HSLhsl(245, 81%, 44%)
HSVhsv(245, 90%, 79%)
CMYKcmyk(81.7%, 89.6%, 0%, 20.8%)
CIE-LABlab(27.28, 62.11, -85.87)
CIE-LCHlch(27.28, 105.97, 305.88°)
OKLaboklab(40.11% 0.0005 -0.2482)
OKLCHoklch(40.11% 0.248 270.1)
XYZxyz(11.6882, 5.1925, 56.2519)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2515CA #BACA15
analogous
#155FCA #2515CA #7F15CA
triadic
#2515CA #CA2515 #15CA25
tetradic
#2515CA #CA155F #BACA15 #15CA7F
square
#2515CA #CA155F #BACA15 #15CA7F
split-complementary
#2515CA #CA7F15 #5FCA15
monochromatic
#11095B #1B0F93 #2515CA #4332EA #766AEF

Accessibility & contrast

On white

10.30
#2515CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2515CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2515CA
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2515CA#FFFFFF#000000##FFFFFF
##2515CA1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049CF
Deuteranopia (green-blind)
#0037C7
Tritanopia (blue-blind)
#005677
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2515ca;
/* rgb */ color: rgb(37, 21, 202);
/* oklch */ color: oklch(40.1% 0.248 270.1);
Tailwind
colors: {
  custom: {
    50: '#815ddc',
    500: '#2515ca',
    950: '#000000',
  },
}
SCSS
$custom: #2515ca;
$custom-light: #815ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#2515ca",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 245.304,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40109,
    "c": 0.24824,
    "h": 270.1
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#2515CA
secondary
#CBD566
accent
#F830E6
background
#F9F5FD
surface
#F1E9FB
border
#CBC5D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2515CA

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

Preview Lab → · Contrast checker → · Palette generator →

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