#2518AB#2518AB

#2518AB is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.5% C 0.213 H 272.2°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#2518AB
RGBrgb(37, 24, 171)
HSLhsl(245, 75%, 38%)
HSVhsv(245, 86%, 67%)
CMYKcmyk(78.4%, 86%, 0%, 32.9%)
CIE-LABlab(23.62, 52.25, -73.53)
CIE-LCHlch(23.62, 90.20, 305.40°)
OKLaboklab(36.5% 0.0081 -0.2126)
OKLCHoklch(36.5% 0.213 272.2)
XYZxyz(8.4378, 3.9859, 38.8448)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2518AB #9EAB18
analogous
#1854AB #2518AB #6E18AB
triadic
#2518AB #AB2518 #18AB25
tetradic
#2518AB #AB1854 #9EAB18 #18AB6E
square
#2518AB #AB1854 #9EAB18 #18AB6E
split-complementary
#2518AB #AB6E18 #54AB18
monochromatic
#0E0940 #191075 #2518AB #3120E0 #6356E7

Accessibility & contrast

On white

11.68
#2518AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2518AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2518AB
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2518AB#FFFFFF#000000##FFFFFF
##2518AB1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAF
Deuteranopia (green-blind)
#0031A9
Tritanopia (blue-blind)
#004965
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2518ab;
/* rgb */ color: rgb(37, 24, 171);
/* oklch */ color: oklch(36.5% 0.213 272.2);
Tailwind
colors: {
  custom: {
    50: '#795bc6',
    500: '#2518ab',
    950: '#000000',
  },
}
SCSS
$custom: #2518ab;
$custom-light: #795bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2518ab",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 171
  },
  "hsl": {
    "h": 245.306,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36496,
    "c": 0.2128,
    "h": 272.2
  },
  "luminance": 0.03987
}

Semantic roles & 50–950 ramp

primary
#2518AB
secondary
#C0CA55
accent
#F236E1
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #2518AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2518AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva