#2516A5#2516A5

#2516A5 is a dark, highly saturated blue. Relative luminance 0.037; OKLCH L 35.6% C 0.207 H 272.8°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#2516A5
RGBrgb(37, 22, 165)
HSLhsl(246, 76%, 37%)
HSVhsv(246, 87%, 65%)
CMYKcmyk(77.6%, 86.7%, 0%, 35.3%)
CIE-LABlab(22.59, 51.29, -71.61)
CIE-LCHlch(22.59, 88.08, 305.61°)
OKLaboklab(35.57% 0.0102 -0.2071)
OKLCHoklch(35.57% 0.207 272.8)
XYZxyz(7.8391, 3.6829, 35.8877)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2516A5 #96A516
analogous
#164EA5 #2516A5 #6D16A5
triadic
#2516A5 #A52516 #16A525
tetradic
#2516A5 #A5164E #96A516 #16A56D
square
#2516A5 #A5164E #96A516 #16A56D
split-complementary
#2516A5 #A56D16 #4EA516
monochromatic
#0D0839 #190F6F #2516A5 #311DDB #5E4EE7

Accessibility & contrast

On white

12.09
#2516A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2516A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2516A5
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2516A5#FFFFFF#000000##FFFFFF
##2516A51.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA9
Deuteranopia (green-blind)
#002FA3
Tritanopia (blue-blind)
#004661
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2516a5;
/* rgb */ color: rgb(37, 22, 165);
/* oklch */ color: oklch(35.6% 0.207 272.8);
Tailwind
colors: {
  custom: {
    50: '#785ac1',
    500: '#2516a5',
    950: '#000000',
  },
}
SCSS
$custom: #2516a5;
$custom-light: #785ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2516a5",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 165
  },
  "hsl": {
    "h": 246.294,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35574,
    "c": 0.20731,
    "h": 272.8
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#2516A5
secondary
#BCC94E
accent
#F335DF
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #2516A5

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

Preview Lab → · Contrast checker → · Palette generator →

#2516A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva