#2E519C#2E519C

#2E519C is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.129 H 263.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2E519C
RGBrgb(46, 81, 156)
HSLhsl(221, 54%, 40%)
HSVhsv(221, 71%, 61%)
CMYKcmyk(70.5%, 48.1%, 0%, 38.8%)
CIE-LABlab(35.72, 13.63, -44.66)
CIE-LCHlch(35.72, 46.69, 286.97°)
OKLaboklab(45.05% -0.0149 -0.128)
OKLCHoklch(45.05% 0.129 263.3)
XYZxyz(10.0678, 8.8650, 32.6266)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E519C #9C792E
analogous
#2E889C #2E519C #422E9C
triadic
#2E519C #9C2E51 #519C2E
tetradic
#2E519C #9C2E88 #9C792E #2E9C42
square
#2E519C #9C2E88 #9C792E #2E9C42
split-complementary
#2E519C #9C422E #889C2E
monochromatic
#12203D #20386D #2E519C #406BC7 #7090D5

Accessibility & contrast

On white

7.57
#2E519C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E519C
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E519C#FFFFFF#000000##FFFFFF
##2E519C1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599F
Deuteranopia (green-blind)
#104F9A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e519c;
/* rgb */ color: rgb(46, 81, 156);
/* oklch */ color: oklch(45.1% 0.129 263.3);
Tailwind
colors: {
  custom: {
    50: '#7481ba',
    500: '#2e519c',
    950: '#000000',
  },
}
SCSS
$custom: #2e519c;
$custom-light: #7481ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e519c",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 220.909,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45051,
    "c": 0.12884,
    "h": 263.3
  },
  "luminance": 0.08866
}

Semantic roles & 50–950 ramp

primary
#2E519C
secondary
#BCA26A
accent
#AF4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E519C

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

Preview Lab → · Contrast checker → · Palette generator →

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