#2E50C4#2E50C4

#2E50C4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.0% C 0.185 H 266.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2E50C4
RGBrgb(46, 80, 196)
HSLhsl(226, 62%, 47%)
HSVhsv(226, 77%, 77%)
CMYKcmyk(76.5%, 59.2%, 0%, 23.1%)
CIE-LABlab(38.38, 29.39, -64.03)
CIE-LCHlch(38.38, 70.45, 294.65°)
OKLaboklab(47.99% -0.0108 -0.185)
OKLCHoklch(47.99% 0.185 266.7)
XYZxyz(13.9557, 10.3021, 53.4668)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50C4 #C4A22E
analogous
#2E9BC4 #2E50C4 #572EC4
triadic
#2E50C4 #C42E50 #50C42E
tetradic
#2E50C4 #C42E9B #C4A22E #2EC457
square
#2E50C4 #C42E9B #C4A22E #2EC457
split-complementary
#2E50C4 #C4572E #9BC42E
monochromatic
#172861 #223C92 #2E50C4 #5875D8 #899EE3

Accessibility & contrast

On white

6.86
#2E50C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2E50C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E50C4
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50C4#FFFFFF#000000##FFFFFF
##2E50C41.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e50c4;
/* rgb */ color: rgb(46, 80, 196);
/* oklch */ color: oklch(48.0% 0.185 266.7);
Tailwind
colors: {
  custom: {
    50: '#7d80d7',
    500: '#2e50c4',
    950: '#000000',
  },
}
SCSS
$custom: #2e50c4;
$custom-light: #7d80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50c4",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 196
  },
  "hsl": {
    "h": 226.4,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47985,
    "c": 0.18528,
    "h": 266.7
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#2E50C4
secondary
#CDBC81
accent
#C043E5
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E50C4

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

Preview Lab → · Contrast checker → · Palette generator →

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