#2E50CA#2E50CA

#2E50CA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.193 H 266.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2E50CA
RGBrgb(46, 80, 202)
HSLhsl(227, 63%, 49%)
HSVhsv(227, 77%, 79%)
CMYKcmyk(77.2%, 60.4%, 0%, 20.8%)
CIE-LABlab(38.87, 31.61, -66.72)
CIE-LCHlch(38.87, 73.83, 295.35°)
OKLaboklab(48.5% -0.0107 -0.1929)
OKLCHoklch(48.5% 0.193 266.8)
XYZxyz(14.6523, 10.5808, 57.1357)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50CA #CAA82E
analogous
#2E9ECA #2E50CA #5A2ECA
triadic
#2E50CA #CA2E50 #50CA2E
tetradic
#2E50CA #CA2E9E #CAA82E #2ECA5A
square
#2E50CA #CA2E9E #CAA82E #2ECA5A
split-complementary
#2E50CA #CA5A2E #9ECA2E
monochromatic
#172966 #233C98 #2E50CA #5B77DA #8DA0E5

Accessibility & contrast

On white

6.74
#2E50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2E50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E50CA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50CA#FFFFFF#000000##FFFFFF
##2E50CA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e50ca;
/* rgb */ color: rgb(46, 80, 202);
/* oklch */ color: oklch(48.5% 0.193 266.8);
Tailwind
colors: {
  custom: {
    50: '#7f80db',
    500: '#2e50ca',
    950: '#000000',
  },
}
SCSS
$custom: #2e50ca;
$custom-light: #7f80db;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50ca",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 226.923,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48498,
    "c": 0.19316,
    "h": 266.8
  },
  "luminance": 0.10582
}

Semantic roles & 50–950 ramp

primary
#2E50CA
secondary
#CFBF84
accent
#C242E6
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2E50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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