#2E50B5#2E50B5

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

Color values

HEX#2E50B5
RGBrgb(46, 80, 181)
HSLhsl(225, 59%, 45%)
HSVhsv(225, 75%, 71%)
CMYKcmyk(74.6%, 55.8%, 0%, 29%)
CIE-LABlab(37.21, 23.77, -57.14)
CIE-LCHlch(37.21, 61.89, 292.58°)
OKLaboklab(46.75% -0.0114 -0.1647)
OKLCHoklch(46.75% 0.165 266)
XYZxyz(12.3329, 9.6530, 44.9203)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50B5 #B5932E
analogous
#2E94B5 #2E50B5 #502EB5
triadic
#2E50B5 #B52E50 #50B52E
tetradic
#2E50B5 #B52E94 #B5932E #2EB550
square
#2E50B5 #B52E94 #B5932E #2EB550
split-complementary
#2E50B5 #B5502E #94B52E
monochromatic
#152553 #223A84 #2E50B5 #4E6FD2 #7F97DE

Accessibility & contrast

On white

7.17
#2E50B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2E50B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50B5
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50B5#FFFFFF#000000##FFFFFF
##2E50B51.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e50b5;
/* rgb */ color: rgb(46, 80, 181);
/* oklch */ color: oklch(46.7% 0.165 266.0);
Tailwind
colors: {
  custom: {
    50: '#7a80cc',
    500: '#2e50b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e50b5;
$custom-light: #7a80cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50b5",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 181
  },
  "hsl": {
    "h": 224.889,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46745,
    "c": 0.16512,
    "h": 266
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

primary
#2E50B5
secondary
#C7B378
accent
#BB45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #2E50B5

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

Preview Lab → · Contrast checker → · Palette generator →

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