#2516B4#2516B4

#2516B4 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.4% C 0.224 H 271.5°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2516B4
RGBrgb(37, 22, 180)
HSLhsl(246, 78%, 40%)
HSVhsv(246, 88%, 71%)
CMYKcmyk(79.4%, 87.8%, 0%, 29.4%)
CIE-LABlab(24.52, 55.64, -77.45)
CIE-LCHlch(24.52, 95.36, 305.69°)
OKLaboklab(37.43% 0.006 -0.2239)
OKLCHoklch(37.43% 0.224 271.5)
XYZxyz(9.2853, 4.2614, 43.5043)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2516B4 #A5B416
analogous
#1656B4 #2516B4 #7416B4
triadic
#2516B4 #B42516 #16B425
tetradic
#2516B4 #B41656 #A5B416 #16B474
square
#2516B4 #B41656 #A5B416 #16B474
split-complementary
#2516B4 #B47416 #56B416
monochromatic
#0F0947 #1A0F7D #2516B4 #3523E4 #675AEB

Accessibility & contrast

On white

11.34
#2516B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2516B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2516B4
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2516B4#FFFFFF#000000##FFFFFF
##2516B41.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B8
Deuteranopia (green-blind)
#0032B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2516b4;
/* rgb */ color: rgb(37, 22, 180);
/* oklch */ color: oklch(37.4% 0.224 271.5);
Tailwind
colors: {
  custom: {
    50: '#7c5bcc',
    500: '#2516b4',
    950: '#000000',
  },
}
SCSS
$custom: #2516b4;
$custom-light: #7c5bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2516b4",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 245.696,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37431,
    "c": 0.22402,
    "h": 271.5
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#2516B4
secondary
#C3CE58
accent
#F533E2
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #2516B4

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

Preview Lab → · Contrast checker → · Palette generator →

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