#2517A0#2517A0

#2517A0 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 35.1% C 0.201 H 273.2°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2517A0
RGBrgb(37, 23, 160)
HSLhsl(246, 75%, 36%)
HSVhsv(246, 86%, 63%)
CMYKcmyk(76.9%, 85.6%, 0%, 37.3%)
CIE-LABlab(22.10, 49.39, -69.39)
CIE-LCHlch(22.10, 85.17, 305.45°)
OKLaboklab(35.06% 0.0114 -0.2006)
OKLCHoklch(35.06% 0.201 273.2)
XYZxyz(7.4124, 3.5434, 33.5442)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2517A0 #92A017
analogous
#174EA0 #2517A0 #6917A0
triadic
#2517A0 #A02517 #17A025
tetradic
#2517A0 #A0174E #92A017 #17A069
square
#2517A0 #A0174E #92A017 #17A069
split-complementary
#2517A0 #A06917 #4EA017
monochromatic
#0C0835 #190F6A #2517A0 #311FD6 #5C4CE5

Accessibility & contrast

On white

12.29
#2517A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2517A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2517A0
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2517A0#FFFFFF#000000##FFFFFF
##2517A01.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2517a0;
/* rgb */ color: rgb(37, 23, 160);
/* oklch */ color: oklch(35.1% 0.201 273.2);
Tailwind
colors: {
  custom: {
    50: '#775abe',
    500: '#2517a0',
    950: '#000000',
  },
}
SCSS
$custom: #2517a0;
$custom-light: #775abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2517a0",
  "rgb": {
    "r": 37,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 246.131,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35056,
    "c": 0.20097,
    "h": 273.2
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#2517A0
secondary
#BAC74C
accent
#F136DE
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2517A0

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

Preview Lab → · Contrast checker → · Palette generator →

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