#2415A1#2415A1

#2415A1 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.9% C 0.204 H 272.9°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#2415A1
RGBrgb(36, 21, 161)
HSLhsl(246, 77%, 36%)
HSVhsv(246, 87%, 63%)
CMYKcmyk(77.6%, 87%, 0%, 36.9%)
CIE-LABlab(21.89, 50.46, -70.36)
CIE-LCHlch(21.89, 86.58, 305.65°)
OKLaboklab(34.93% 0.0102 -0.2034)
OKLCHoklch(34.93% 0.204 272.9)
XYZxyz(7.4266, 3.4838, 33.9923)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2415A1 #92A115
analogous
#154CA1 #2415A1 #6A15A1
triadic
#2415A1 #A12415 #15A124
tetradic
#2415A1 #A1154C #92A115 #15A16A
square
#2415A1 #A1154C #92A115 #15A16A
split-complementary
#2415A1 #A16A15 #4CA115
monochromatic
#0C0735 #180E6B #2415A1 #301CD7 #5A49E7

Accessibility & contrast

On white

12.37
#2415A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2415A1
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2415A1#FFFFFF#000000##FFFFFF
##2415A11.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2415a1;
/* rgb */ color: rgb(36, 21, 161);
/* oklch */ color: oklch(34.9% 0.204 272.9);
Tailwind
colors: {
  custom: {
    50: '#7759be',
    500: '#2415a1',
    950: '#000000',
  },
}
SCSS
$custom: #2415a1;
$custom-light: #7759be;
$custom-dark: #000000;
JSON
{
  "hex": "#2415a1",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 246.429,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34928,
    "c": 0.20369,
    "h": 272.9
  },
  "luminance": 0.03485
}

Semantic roles & 50–950 ramp

primary
#2415A1
secondary
#BBC849
accent
#F334DF
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2415A1

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

Preview Lab → · Contrast checker → · Palette generator →

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