#2A519A#2A519A

#2A519A is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.127 H 261.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2A519A
RGBrgb(42, 81, 154)
HSLhsl(219, 57%, 38%)
HSVhsv(219, 73%, 60%)
CMYKcmyk(72.7%, 47.4%, 0%, 39.6%)
CIE-LABlab(35.42, 12.25, -43.95)
CIE-LCHlch(35.42, 45.63, 285.58°)
OKLaboklab(44.73% -0.0186 -0.126)
OKLCHoklch(44.73% 0.127 261.6)
XYZxyz(9.7279, 8.7092, 31.7339)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A519A #9A732A
analogous
#2A899A #2A519A #3B2A9A
triadic
#2A519A #9A2A51 #519A2A
tetradic
#2A519A #9A2A89 #9A732A #2A9A3B
square
#2A519A #9A2A89 #9A732A #2A9A3B
split-complementary
#2A519A #9A3B2A #899A2A
monochromatic
#101E3A #1D386A #2A519A #386BC9 #688FD6

Accessibility & contrast

On white

7.66
#2A519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2A519A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A519A
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A519A#FFFFFF#000000##FFFFFF
##2A519A1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a519a;
/* rgb */ color: rgb(42, 81, 154);
/* oklch */ color: oklch(44.7% 0.127 261.6);
Tailwind
colors: {
  custom: {
    50: '#7281b8',
    500: '#2a519a',
    950: '#000000',
  },
}
SCSS
$custom: #2a519a;
$custom-light: #7281b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a519a",
  "rgb": {
    "r": 42,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 219.107,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44727,
    "c": 0.12734,
    "h": 261.6
  },
  "luminance": 0.0871
}

Semantic roles & 50–950 ramp

primary
#2A519A
secondary
#BC9D63
accent
#AB47E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2A519A

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

Preview Lab → · Contrast checker → · Palette generator →

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