#2C519A#2C519A

#2C519A is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.8% C 0.127 H 262.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2C519A
RGBrgb(44, 81, 154)
HSLhsl(220, 56%, 39%)
HSVhsv(220, 71%, 60%)
CMYKcmyk(71.4%, 47.4%, 0%, 39.6%)
CIE-LABlab(35.50, 12.56, -43.81)
CIE-LCHlch(35.50, 45.57, 285.99°)
OKLaboklab(44.82% -0.017 -0.1255)
OKLCHoklch(44.82% 0.127 262.3)
XYZxyz(9.8118, 8.7524, 31.7379)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C519A #9A752C
analogous
#2C889A #2C519A #3E2C9A
triadic
#2C519A #9A2C51 #519A2C
tetradic
#2C519A #9A2C88 #9A752C #2C9A3E
square
#2C519A #9A2C88 #9A752C #2C9A3E
split-complementary
#2C519A #9A3E2C #889A2C
monochromatic
#111F3B #1E386A #2C519A #3C6BC7 #6C8FD5

Accessibility & contrast

On white

7.63
#2C519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2C519A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C519A
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C519A#FFFFFF#000000##FFFFFF
##2C519A1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599D
Deuteranopia (green-blind)
#134F99
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c519a;
/* rgb */ color: rgb(44, 81, 154);
/* oklch */ color: oklch(44.8% 0.127 262.3);
Tailwind
colors: {
  custom: {
    50: '#7381b8',
    500: '#2c519a',
    950: '#000000',
  },
}
SCSS
$custom: #2c519a;
$custom-light: #7381b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c519a",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 219.818,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44816,
    "c": 0.12666,
    "h": 262.3
  },
  "luminance": 0.08753
}

Semantic roles & 50–950 ramp

primary
#2C519A
secondary
#BC9F66
accent
#AC49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C519A

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

Preview Lab → · Contrast checker → · Palette generator →

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