#2E50B4#2E50B4

#2E50B4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.164 H 266.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2E50B4
RGBrgb(46, 80, 180)
HSLhsl(225, 59%, 44%)
HSVhsv(225, 74%, 71%)
CMYKcmyk(74.4%, 55.6%, 0%, 29.4%)
CIE-LABlab(37.14, 23.39, -56.67)
CIE-LCHlch(37.14, 61.31, 292.43°)
OKLaboklab(46.66% -0.0115 -0.1633)
OKLCHoklch(46.66% 0.164 266)
XYZxyz(12.2307, 9.6121, 44.3819)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50B4 #B4922E
analogous
#2E93B4 #2E50B4 #4F2EB4
triadic
#2E50B4 #B42E50 #50B42E
tetradic
#2E50B4 #B42E93 #B4922E #2EB44F
square
#2E50B4 #B42E93 #B4922E #2EB44F
split-complementary
#2E50B4 #B44F2E #93B42E
monochromatic
#152553 #223A83 #2E50B4 #4E6FD2 #7E97DE

Accessibility & contrast

On white

7.19
#2E50B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2E50B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50B4
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50B4#FFFFFF#000000##FFFFFF
##2E50B41.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e50b4;
/* rgb */ color: rgb(46, 80, 180);
/* oklch */ color: oklch(46.7% 0.164 266.0);
Tailwind
colors: {
  custom: {
    50: '#7a80cb',
    500: '#2e50b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e50b4;
$custom-light: #7a80cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50b4",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 224.776,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46664,
    "c": 0.16375,
    "h": 266
  },
  "luminance": 0.09613
}

Semantic roles & 50–950 ramp

primary
#2E50B4
secondary
#C7B377
accent
#BB45E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #2E50B4

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

Preview Lab → · Contrast checker → · Palette generator →

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