#2A519B#2A519B

#2A519B is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.129 H 261.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2A519B
RGBrgb(42, 81, 155)
HSLhsl(219, 57%, 39%)
HSVhsv(219, 73%, 61%)
CMYKcmyk(72.9%, 47.7%, 0%, 39.2%)
CIE-LABlab(35.48, 12.64, -44.45)
CIE-LCHlch(35.48, 46.21, 285.87°)
OKLaboklab(44.8% -0.0184 -0.1274)
OKLCHoklch(44.8% 0.129 261.8)
XYZxyz(9.8116, 8.7426, 32.1744)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A519B #9B742A
analogous
#2A899B #2A519B #3B2A9B
triadic
#2A519B #9B2A51 #519B2A
tetradic
#2A519B #9B2A89 #9B742A #2A9B3B
square
#2A519B #9B2A89 #9B742A #2A9B3B
split-complementary
#2A519B #9B3B2A #899B2A
monochromatic
#101F3B #1D386B #2A519B #396BC9 #698FD6

Accessibility & contrast

On white

7.64
#2A519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A519B
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A519B#FFFFFF#000000##FFFFFF
##2A519B1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599E
Deuteranopia (green-blind)
#0F4F99
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a519b;
/* rgb */ color: rgb(42, 81, 155);
/* oklch */ color: oklch(44.8% 0.129 261.8);
Tailwind
colors: {
  custom: {
    50: '#7381b9',
    500: '#2a519b',
    950: '#000000',
  },
}
SCSS
$custom: #2a519b;
$custom-light: #7381b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a519b",
  "rgb": {
    "r": 42,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 219.292,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44799,
    "c": 0.12876,
    "h": 261.8
  },
  "luminance": 0.08744
}

Semantic roles & 50–950 ramp

primary
#2A519B
secondary
#BD9E64
accent
#AC47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2A519B

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

Preview Lab → · Contrast checker → · Palette generator →

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