#2C519D#2C519D

#2C519D is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.131 H 262.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2C519D
RGBrgb(44, 81, 157)
HSLhsl(220, 56%, 39%)
HSVhsv(220, 72%, 62%)
CMYKcmyk(72%, 48.4%, 0%, 38.4%)
CIE-LABlab(35.70, 13.70, -45.30)
CIE-LCHlch(35.70, 47.33, 286.83°)
OKLaboklab(45.03% -0.0165 -0.1299)
OKLCHoklch(45.03% 0.131 262.8)
XYZxyz(10.0648, 8.8536, 33.0702)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C519D #9D782C
analogous
#2C8A9D #2C519D #402C9D
triadic
#2C519D #9D2C51 #519D2C
tetradic
#2C519D #9D2C8A #9D782C #2C9D40
square
#2C519D #9D2C8A #9D782C #2C9D40
split-complementary
#2C519D #9D402C #8A9D2C
monochromatic
#11203D #1F386D #2C519D #3D6BC9 #6D90D6

Accessibility & contrast

On white

7.58
#2C519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2C519D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C519D
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C519D#FFFFFF#000000##FFFFFF
##2C519D1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2859A0
Deuteranopia (green-blind)
#0B4F9B
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c519d;
/* rgb */ color: rgb(44, 81, 157);
/* oklch */ color: oklch(45.0% 0.131 262.8);
Tailwind
colors: {
  custom: {
    50: '#7481ba',
    500: '#2c519d',
    950: '#000000',
  },
}
SCSS
$custom: #2c519d;
$custom-light: #7481ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c519d",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 220.354,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45031,
    "c": 0.13094,
    "h": 262.8
  },
  "luminance": 0.08855
}

Semantic roles & 50–950 ramp

primary
#2C519D
secondary
#BDA168
accent
#AE48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C519D

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

Preview Lab → · Contrast checker → · Palette generator →

#2C519D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva