#2E519A#2E519A

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

Color values

HEX#2E519A
RGBrgb(46, 81, 154)
HSLhsl(221, 54%, 39%)
HSVhsv(221, 70%, 60%)
CMYKcmyk(70.1%, 47.4%, 0%, 39.6%)
CIE-LABlab(35.59, 12.87, -43.66)
CIE-LCHlch(35.59, 45.52, 286.43°)
OKLaboklab(44.91% -0.0153 -0.125)
OKLCHoklch(44.91% 0.126 263)
XYZxyz(9.8998, 8.7978, 31.7420)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E519A #9A772E
analogous
#2E879A #2E519A #412E9A
triadic
#2E519A #9A2E51 #519A2E
tetradic
#2E519A #9A2E87 #9A772E #2E9A41
square
#2E519A #9A2E87 #9A772E #2E9A41
split-complementary
#2E519A #9A412E #879A2E
monochromatic
#121F3C #20386B #2E519A #3F6BC6 #6F8FD4

Accessibility & contrast

On white

7.61
#2E519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E519A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E519A#FFFFFF#000000##FFFFFF
##2E519A1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e519a;
/* rgb */ color: rgb(46, 81, 154);
/* oklch */ color: oklch(44.9% 0.126 263.0);
Tailwind
colors: {
  custom: {
    50: '#7481b8',
    500: '#2e519a',
    950: '#000000',
  },
}
SCSS
$custom: #2e519a;
$custom-light: #7481b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e519a",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 220.556,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44909,
    "c": 0.12598,
    "h": 263
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#2E519A
secondary
#BBA069
accent
#AE4ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E519A

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

Preview Lab → · Contrast checker → · Palette generator →

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