#2C519F#2C519F

#2C519F is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.2% C 0.134 H 263.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2C519F
RGBrgb(44, 81, 159)
HSLhsl(221, 57%, 40%)
HSVhsv(221, 72%, 62%)
CMYKcmyk(72.3%, 49.1%, 0%, 37.6%)
CIE-LABlab(35.83, 14.47, -46.29)
CIE-LCHlch(35.83, 48.49, 287.36°)
OKLaboklab(45.18% -0.0162 -0.1328)
OKLCHoklch(45.18% 0.134 263)
XYZxyz(10.2369, 8.9225, 33.9769)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C519F #9F7A2C
analogous
#2C8A9F #2C519F #412C9F
triadic
#2C519F #9F2C51 #519F2C
tetradic
#2C519F #9F2C8A #9F7A2C #2C9F41
square
#2C519F #9F2C8A #9F7A2C #2C9F41
split-complementary
#2C519F #9F412C #8A9F2C
monochromatic
#11203F #1F396F #2C519F #3E6BCA #6E90D7

Accessibility & contrast

On white

7.54
#2C519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2C519F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C519F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C519F#FFFFFF#000000##FFFFFF
##2C519F1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA2
Deuteranopia (green-blind)
#034F9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c519f;
/* rgb */ color: rgb(44, 81, 159);
/* oklch */ color: oklch(45.2% 0.134 263.0);
Tailwind
colors: {
  custom: {
    50: '#7481bc',
    500: '#2c519f',
    950: '#000000',
  },
}
SCSS
$custom: #2c519f;
$custom-light: #7481bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c519f",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 220.696,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45177,
    "c": 0.13378,
    "h": 263
  },
  "luminance": 0.08924
}

Semantic roles & 50–950 ramp

primary
#2C519F
secondary
#BEA369
accent
#AF48E0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C519F

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

Preview Lab → · Contrast checker → · Palette generator →

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