#2E50C0#2E50C0

#2E50C0 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.180 H 266.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2E50C0
RGBrgb(46, 80, 192)
HSLhsl(226, 61%, 47%)
HSVhsv(226, 76%, 75%)
CMYKcmyk(76%, 58.3%, 0%, 24.7%)
CIE-LABlab(38.06, 27.90, -62.22)
CIE-LCHlch(38.06, 68.18, 294.15°)
OKLaboklab(47.65% -0.0109 -0.1796)
OKLCHoklch(47.65% 0.18 266.5)
XYZxyz(13.5065, 10.1224, 51.1009)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50C0 #C09E2E
analogous
#2E99C0 #2E50C0 #552EC0
triadic
#2E50C0 #C02E50 #50C02E
tetradic
#2E50C0 #C02E99 #C09E2E #2EC055
square
#2E50C0 #C02E99 #C09E2E #2EC055
split-complementary
#2E50C0 #C0552E #99C02E
monochromatic
#16275D #223B8F #2E50C0 #5573D6 #869CE2

Accessibility & contrast

On white

6.94
#2E50C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2E50C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E50C0
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50C0#FFFFFF#000000##FFFFFF
##2E50C01.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e50c0;
/* rgb */ color: rgb(46, 80, 192);
/* oklch */ color: oklch(47.6% 0.180 266.5);
Tailwind
colors: {
  custom: {
    50: '#7c80d4',
    500: '#2e50c0',
    950: '#000000',
  },
}
SCSS
$custom: #2e50c0;
$custom-light: #7c80d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50c0",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 192
  },
  "hsl": {
    "h": 226.027,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.17996,
    "h": 266.5
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#2E50C0
secondary
#CCBA7E
accent
#BF43E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E50C0

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

Preview Lab → · Contrast checker → · Palette generator →

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