#2B519D#2B519D

#2B519D is a dark, vivid blue. Relative luminance 0.088; OKLCH L 45.0% C 0.131 H 262.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2B519D
RGBrgb(43, 81, 157)
HSLhsl(220, 57%, 39%)
HSVhsv(220, 73%, 62%)
CMYKcmyk(72.6%, 48.4%, 0%, 38.4%)
CIE-LABlab(35.66, 13.55, -45.37)
CIE-LCHlch(35.66, 47.35, 286.63°)
OKLaboklab(44.99% -0.0173 -0.1301)
OKLCHoklch(44.99% 0.131 262.4)
XYZxyz(10.0223, 8.8317, 33.0682)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B519D #9D772B
analogous
#2B8A9D #2B519D #3E2B9D
triadic
#2B519D #9D2B51 #519D2B
tetradic
#2B519D #9D2B8A #9D772B #2B9D3E
square
#2B519D #9D2B8A #9D772B #2B9D3E
split-complementary
#2B519D #9D3E2B #8A9D2B
monochromatic
#111F3D #1E386D #2B519D #3C6BCA #6C8FD7

Accessibility & contrast

On white

7.59
#2B519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2B519D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B519D
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B519D#FFFFFF#000000##FFFFFF
##2B519D1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2859A0
Deuteranopia (green-blind)
#094F9B
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b519d;
/* rgb */ color: rgb(43, 81, 157);
/* oklch */ color: oklch(45.0% 0.131 262.4);
Tailwind
colors: {
  custom: {
    50: '#7381ba',
    500: '#2b519d',
    950: '#000000',
  },
}
SCSS
$custom: #2b519d;
$custom-light: #7381ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b519d",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 220,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44987,
    "c": 0.13127,
    "h": 262.4
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#2B519D
secondary
#BDA066
accent
#AD48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B519D

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

Preview Lab → · Contrast checker → · Palette generator →

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