#2517C9#2517C9

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

Color values

HEX#2517C9
RGBrgb(37, 23, 201)
HSLhsl(245, 79%, 44%)
HSVhsv(245, 89%, 79%)
CMYKcmyk(81.6%, 88.6%, 0%, 21.2%)
CIE-LABlab(27.36, 61.19, -85.15)
CIE-LCHlch(27.36, 104.85, 305.70°)
OKLaboklab(40.13% 0.0005 -0.2462)
OKLCHoklch(40.13% 0.246 270.1)
XYZxyz(11.6084, 5.2218, 55.6431)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2517C9 #BBC917
analogous
#1762C9 #2517C9 #7E17C9
triadic
#2517C9 #C92517 #17C925
tetradic
#2517C9 #C91762 #BBC917 #17C97E
square
#2517C9 #C91762 #BBC917 #17C97E
split-complementary
#2517C9 #C97E17 #62C917
monochromatic
#110A5B #1B1192 #2517C9 #4335E8 #766CEE

Accessibility & contrast

On white

10.27
#2517C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2517C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2517C9
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2517C9#FFFFFF#000000##FFFFFF
##2517C91.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049CE
Deuteranopia (green-blind)
#0037C6
Tritanopia (blue-blind)
#005677
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2517c9;
/* rgb */ color: rgb(37, 23, 201);
/* oklch */ color: oklch(40.1% 0.246 270.1);
Tailwind
colors: {
  custom: {
    50: '#815edb',
    500: '#2517c9',
    950: '#000000',
  },
}
SCSS
$custom: #2517c9;
$custom-light: #815edb;
$custom-dark: #000000;
JSON
{
  "hex": "#2517c9",
  "rgb": {
    "r": 37,
    "g": 23,
    "b": 201
  },
  "hsl": {
    "h": 244.719,
    "s": 79.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40127,
    "c": 0.24621,
    "h": 270.1
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#2517C9
secondary
#CBD468
accent
#F632E6
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2517C9

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

Preview Lab → · Contrast checker → · Palette generator →

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