#2A519C#2A519C

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

Color values

HEX#2A519C
RGBrgb(42, 81, 156)
HSLhsl(219, 58%, 39%)
HSVhsv(219, 73%, 61%)
CMYKcmyk(73.1%, 48.1%, 0%, 38.8%)
CIE-LABlab(35.55, 13.02, -44.94)
CIE-LCHlch(35.55, 46.79, 286.16°)
OKLaboklab(44.87% -0.0183 -0.1289)
OKLCHoklch(44.87% 0.13 261.9)
XYZxyz(9.8959, 8.7763, 32.6185)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A519C #9C752A
analogous
#2A8A9C #2A519C #3C2A9C
triadic
#2A519C #9C2A51 #519C2A
tetradic
#2A519C #9C2A8A #9C752A #2A9C3C
square
#2A519C #9C2A8A #9C752A #2A9C3C
split-complementary
#2A519C #9C3C2A #8A9C2A
monochromatic
#101F3C #1D386C #2A519C #396BCA #6A8FD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A519C#FFFFFF#000000##FFFFFF
##2A519C1.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)
#29599F
Deuteranopia (green-blind)
#0C4F9A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a519c;
/* rgb */ color: rgb(42, 81, 156);
/* oklch */ color: oklch(44.9% 0.130 261.9);
Tailwind
colors: {
  custom: {
    50: '#7381ba',
    500: '#2a519c',
    950: '#000000',
  },
}
SCSS
$custom: #2a519c;
$custom-light: #7381ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a519c",
  "rgb": {
    "r": 42,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 219.474,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44871,
    "c": 0.13018,
    "h": 261.9
  },
  "luminance": 0.08777
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A519C

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

Preview Lab → · Contrast checker → · Palette generator →

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