#2E50C3#2E50C3

#2E50C3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.184 H 266.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2E50C3
RGBrgb(46, 80, 195)
HSLhsl(226, 62%, 47%)
HSVhsv(226, 76%, 76%)
CMYKcmyk(76.4%, 59%, 0%, 23.5%)
CIE-LABlab(38.30, 29.01, -63.58)
CIE-LCHlch(38.30, 69.89, 294.53°)
OKLaboklab(47.9% -0.0108 -0.1836)
OKLCHoklch(47.9% 0.184 266.6)
XYZxyz(13.8423, 10.2567, 52.8694)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50C3 #C3A12E
analogous
#2E9AC3 #2E50C3 #572EC3
triadic
#2E50C3 #C32E50 #50C32E
tetradic
#2E50C3 #C32E9A #C3A12E #2EC357
square
#2E50C3 #C32E9A #C3A12E #2EC357
split-complementary
#2E50C3 #C3572E #9AC32E
monochromatic
#172760 #223C91 #2E50C3 #5774D7 #889DE3

Accessibility & contrast

On white

6.88
#2E50C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2E50C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E50C3
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50C3#FFFFFF#000000##FFFFFF
##2E50C31.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e50c3;
/* rgb */ color: rgb(46, 80, 195);
/* oklch */ color: oklch(47.9% 0.184 266.6);
Tailwind
colors: {
  custom: {
    50: '#7d80d6',
    500: '#2e50c3',
    950: '#000000',
  },
}
SCSS
$custom: #2e50c3;
$custom-light: #7d80d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50c3",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 195
  },
  "hsl": {
    "h": 226.309,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47901,
    "c": 0.18395,
    "h": 266.6
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#2E50C3
secondary
#CDBB80
accent
#C043E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E50C3

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

Preview Lab → · Contrast checker → · Palette generator →

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