#2B519A#2B519A

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

Color values

HEX#2B519A
RGBrgb(43, 81, 154)
HSLhsl(219, 56%, 39%)
HSVhsv(219, 72%, 60%)
CMYKcmyk(72.1%, 47.4%, 0%, 39.6%)
CIE-LABlab(35.46, 12.40, -43.88)
CIE-LCHlch(35.46, 45.60, 285.78°)
OKLaboklab(44.77% -0.0178 -0.1257)
OKLCHoklch(44.77% 0.127 261.9)
XYZxyz(9.7693, 8.7305, 31.7359)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B519A #9A742B
analogous
#2B889A #2B519A #3C2B9A
triadic
#2B519A #9A2B51 #519A2B
tetradic
#2B519A #9A2B88 #9A742B #2B9A3C
square
#2B519A #9A2B88 #9A742B #2B9A3C
split-complementary
#2B519A #9A3C2B #889A2B
monochromatic
#101F3A #1E386A #2B519A #3A6BC8 #6A8FD5

Accessibility & contrast

On white

7.65
#2B519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B519A
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B519A#FFFFFF#000000##FFFFFF
##2B519A1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b519a;
/* rgb */ color: rgb(43, 81, 154);
/* oklch */ color: oklch(44.8% 0.127 261.9);
Tailwind
colors: {
  custom: {
    50: '#7381b8',
    500: '#2b519a',
    950: '#000000',
  },
}
SCSS
$custom: #2b519a;
$custom-light: #7381b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b519a",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 219.459,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44771,
    "c": 0.12699,
    "h": 261.9
  },
  "luminance": 0.08732
}

Semantic roles & 50–950 ramp

primary
#2B519A
secondary
#BC9E65
accent
#AC48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B519A

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

Preview Lab → · Contrast checker → · Palette generator →

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