#2E519B#2E519B

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

Color values

HEX#2E519B
RGBrgb(46, 81, 155)
HSLhsl(221, 54%, 39%)
HSVhsv(221, 70%, 61%)
CMYKcmyk(70.3%, 47.7%, 0%, 39.2%)
CIE-LABlab(35.66, 13.25, -44.16)
CIE-LCHlch(35.66, 46.11, 286.70°)
OKLaboklab(44.98% -0.0151 -0.1265)
OKLCHoklch(44.98% 0.127 263.2)
XYZxyz(9.9834, 8.8312, 32.1825)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E519B #9B782E
analogous
#2E889B #2E519B #422E9B
triadic
#2E519B #9B2E51 #519B2E
tetradic
#2E519B #9B2E88 #9B782E #2E9B42
square
#2E519B #9B2E88 #9B782E #2E9B42
split-complementary
#2E519B #9B422E #889B2E
monochromatic
#12203D #20386C #2E519B #406BC6 #6F90D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E519B#FFFFFF#000000##FFFFFF
##2E519B1.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)
#2A599E
Deuteranopia (green-blind)
#124F99
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e519b;
/* rgb */ color: rgb(46, 81, 155);
/* oklch */ color: oklch(45.0% 0.127 263.2);
Tailwind
colors: {
  custom: {
    50: '#7481b9',
    500: '#2e519b',
    950: '#000000',
  },
}
SCSS
$custom: #2e519b;
$custom-light: #7481b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e519b",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 220.734,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4498,
    "c": 0.12741,
    "h": 263.2
  },
  "luminance": 0.08832
}

Semantic roles & 50–950 ramp

primary
#2E519B
secondary
#BCA169
accent
#AE4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E519B

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

Preview Lab → · Contrast checker → · Palette generator →

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