#2E519F#2E519F

#2E519F is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.3% C 0.133 H 263.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2E519F
RGBrgb(46, 81, 159)
HSLhsl(221, 55%, 40%)
HSVhsv(221, 71%, 62%)
CMYKcmyk(71.1%, 49.1%, 0%, 37.6%)
CIE-LABlab(35.92, 14.77, -46.14)
CIE-LCHlch(35.92, 48.45, 287.75°)
OKLaboklab(45.27% -0.0145 -0.1323)
OKLCHoklch(45.27% 0.133 263.7)
XYZxyz(10.3249, 8.9678, 33.9810)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E519F #9F7C2E
analogous
#2E899F #2E519F #432E9F
triadic
#2E519F #9F2E51 #519F2E
tetradic
#2E519F #9F2E89 #9F7C2E #2E9F43
square
#2E519F #9F2E89 #9F7C2E #2E9F43
split-complementary
#2E519F #9F432E #899F2E
monochromatic
#132140 #203970 #2E519F #426CC8 #7191D6

Accessibility & contrast

On white

7.52
#2E519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2E519F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E519F
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E519F#FFFFFF#000000##FFFFFF
##2E519F1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA2
Deuteranopia (green-blind)
#06509D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e519f;
/* rgb */ color: rgb(46, 81, 159);
/* oklch */ color: oklch(45.3% 0.133 263.7);
Tailwind
colors: {
  custom: {
    50: '#7581bc',
    500: '#2e519f',
    950: '#000000',
  },
}
SCSS
$custom: #2e519f;
$custom-light: #7581bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e519f",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 221.416,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45268,
    "c": 0.13313,
    "h": 263.7
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#2E519F
secondary
#BEA46B
accent
#B049DE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E519F

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

Preview Lab → · Contrast checker → · Palette generator →

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