#2C519B#2C519B

#2C519B is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.128 H 262.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2C519B
RGBrgb(44, 81, 155)
HSLhsl(220, 56%, 39%)
HSVhsv(220, 72%, 61%)
CMYKcmyk(71.6%, 47.7%, 0%, 39.2%)
CIE-LABlab(35.57, 12.94, -44.31)
CIE-LCHlch(35.57, 46.16, 286.28°)
OKLaboklab(44.89% -0.0168 -0.127)
OKLCHoklch(44.89% 0.128 262.5)
XYZxyz(9.8954, 8.7859, 32.1783)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C519B #9B762C
analogous
#2C899B #2C519B #3F2C9B
triadic
#2C519B #9B2C51 #519B2C
tetradic
#2C519B #9B2C89 #9B762C #2C9B3F
square
#2C519B #9B2C89 #9B762C #2C9B3F
split-complementary
#2C519B #9B3F2C #899B2C
monochromatic
#111F3C #1E386B #2C519B #3C6BC8 #6C8FD5

Accessibility & contrast

On white

7.62
#2C519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2C519B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C519B
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C519B#FFFFFF#000000##FFFFFF
##2C519B1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599E
Deuteranopia (green-blind)
#104F99
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c519b;
/* rgb */ color: rgb(44, 81, 155);
/* oklch */ color: oklch(44.9% 0.128 262.5);
Tailwind
colors: {
  custom: {
    50: '#7381b9',
    500: '#2c519b',
    950: '#000000',
  },
}
SCSS
$custom: #2c519b;
$custom-light: #7381b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c519b",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 220,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44888,
    "c": 0.12809,
    "h": 262.5
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

primary
#2C519B
secondary
#BCA067
accent
#AD49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C519B

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

Preview Lab → · Contrast checker → · Palette generator →

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