#2E50C8#2E50C8

#2E50C8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.3% C 0.191 H 266.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2E50C8
RGBrgb(46, 80, 200)
HSLhsl(227, 63%, 48%)
HSVhsv(227, 77%, 78%)
CMYKcmyk(77%, 60%, 0%, 21.6%)
CIE-LABlab(38.70, 30.87, -65.83)
CIE-LCHlch(38.70, 72.71, 295.12°)
OKLaboklab(48.33% -0.0107 -0.1902)
OKLCHoklch(48.33% 0.191 266.8)
XYZxyz(14.4171, 10.4867, 55.8967)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50C8 #C8A62E
analogous
#2E9DC8 #2E50C8 #592EC8
triadic
#2E50C8 #C82E50 #50C82E
tetradic
#2E50C8 #C82E9D #C8A62E #2EC859
square
#2E50C8 #C82E9D #C8A62E #2EC859
split-complementary
#2E50C8 #C8592E #9DC82E
monochromatic
#172864 #233C96 #2E50C8 #5A76D9 #8C9FE5

Accessibility & contrast

On white

6.78
#2E50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2E50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E50C8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50C8#FFFFFF#000000##FFFFFF
##2E50C81.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0054C6
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e50c8;
/* rgb */ color: rgb(46, 80, 200);
/* oklch */ color: oklch(48.3% 0.191 266.8);
Tailwind
colors: {
  custom: {
    50: '#7e80da',
    500: '#2e50c8',
    950: '#000000',
  },
}
SCSS
$custom: #2e50c8;
$custom-light: #7e80da;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50c8",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 226.753,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48326,
    "c": 0.19054,
    "h": 266.8
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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