#2518A0#2518A0

#2518A0 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.2% C 0.200 H 273.2°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#2518A0
RGBrgb(37, 24, 160)
HSLhsl(246, 74%, 36%)
HSVhsv(246, 85%, 63%)
CMYKcmyk(76.9%, 85%, 0%, 37.3%)
CIE-LABlab(22.25, 48.96, -69.15)
CIE-LCHlch(22.25, 84.73, 305.30°)
OKLaboklab(35.16% 0.0111 -0.2)
OKLCHoklch(35.16% 0.2 273.2)
XYZxyz(7.4326, 3.5839, 33.5509)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2518A0 #93A018
analogous
#184FA0 #2518A0 #6918A0
triadic
#2518A0 #A02518 #18A025
tetradic
#2518A0 #A0184F #93A018 #18A069
square
#2518A0 #A0184F #93A018 #18A069
split-complementary
#2518A0 #A06918 #4FA018
monochromatic
#0C0836 #19106B #2518A0 #3120D5 #5C4EE4

Accessibility & contrast

On white

12.23
#2518A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2518A0
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2518A0#FFFFFF#000000##FFFFFF
##2518A01.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2518a0;
/* rgb */ color: rgb(37, 24, 160);
/* oklch */ color: oklch(35.2% 0.200 273.2);
Tailwind
colors: {
  custom: {
    50: '#765abe',
    500: '#2518a0',
    950: '#000000',
  },
}
SCSS
$custom: #2518a0;
$custom-light: #765abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2518a0",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 245.735,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35156,
    "c": 0.20028,
    "h": 273.2
  },
  "luminance": 0.03585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2518A0

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

Preview Lab → · Contrast checker → · Palette generator →

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