#2E50B1#2E50B1

#2E50B1 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.160 H 265.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2E50B1
RGBrgb(46, 80, 177)
HSLhsl(224, 59%, 44%)
HSVhsv(224, 74%, 69%)
CMYKcmyk(74%, 54.8%, 0%, 30.6%)
CIE-LABlab(36.91, 22.26, -55.27)
CIE-LCHlch(36.91, 59.58, 291.94°)
OKLaboklab(46.43% -0.0117 -0.1592)
OKLCHoklch(46.43% 0.16 265.8)
XYZxyz(11.9284, 9.4912, 42.7898)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50B1 #B18F2E
analogous
#2E91B1 #2E50B1 #4D2EB1
triadic
#2E50B1 #B12E50 #50B12E
tetradic
#2E50B1 #B12E91 #B18F2E #2EB14D
square
#2E50B1 #B12E91 #B18F2E #2EB14D
split-complementary
#2E50B1 #B14D2E #91B12E
monochromatic
#152450 #213A80 #2E50B1 #4C6ED0 #7C95DD

Accessibility & contrast

On white

7.25
#2E50B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2E50B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50B1
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50B1#FFFFFF#000000##FFFFFF
##2E50B11.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e50b1;
/* rgb */ color: rgb(46, 80, 177);
/* oklch */ color: oklch(46.4% 0.160 265.8);
Tailwind
colors: {
  custom: {
    50: '#7980c9',
    500: '#2e50b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e50b1;
$custom-light: #7980c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50b1",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 177
  },
  "hsl": {
    "h": 224.427,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46425,
    "c": 0.15963,
    "h": 265.8
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#2E50B1
secondary
#C6B175
accent
#B946E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E50B1

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

Preview Lab → · Contrast checker → · Palette generator →

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