#2518A1#2518A1

#2518A1 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.3% C 0.201 H 273.1°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#2518A1
RGBrgb(37, 24, 161)
HSLhsl(246, 74%, 36%)
HSVhsv(246, 85%, 63%)
CMYKcmyk(77%, 85.1%, 0%, 36.9%)
CIE-LABlab(22.37, 49.27, -69.55)
CIE-LCHlch(22.37, 85.23, 305.31°)
OKLaboklab(35.28% 0.0109 -0.2011)
OKLCHoklch(35.28% 0.201 273.1)
XYZxyz(7.5205, 3.6190, 34.0135)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2518A1 #94A118
analogous
#1850A1 #2518A1 #6A18A1
triadic
#2518A1 #A12518 #18A125
tetradic
#2518A1 #A11850 #94A118 #18A16A
square
#2518A1 #A11850 #94A118 #18A16A
split-complementary
#2518A1 #A16A18 #50A118
monochromatic
#0D0836 #19106C #2518A1 #3120D6 #5D4FE5

Accessibility & contrast

On white

12.18
#2518A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2518A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2518A1
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2518A1#FFFFFF#000000##FFFFFF
##2518A11.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#002F9F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2518a1;
/* rgb */ color: rgb(37, 24, 161);
/* oklch */ color: oklch(35.3% 0.201 273.1);
Tailwind
colors: {
  custom: {
    50: '#775abe',
    500: '#2518a1',
    950: '#000000',
  },
}
SCSS
$custom: #2518a1;
$custom-light: #775abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2518a1",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 245.693,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35277,
    "c": 0.20143,
    "h": 273.1
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#2518A1
secondary
#BBC74E
accent
#F137DF
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2518A1

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

Preview Lab → · Contrast checker → · Palette generator →

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