#2E50B2#2E50B2

#2E50B2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.161 H 265.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2E50B2
RGBrgb(46, 80, 178)
HSLhsl(225, 59%, 44%)
HSVhsv(225, 74%, 70%)
CMYKcmyk(74.2%, 55.1%, 0%, 30.2%)
CIE-LABlab(36.99, 22.64, -55.74)
CIE-LCHlch(36.99, 60.16, 292.10°)
OKLaboklab(46.51% -0.0116 -0.1606)
OKLCHoklch(46.51% 0.161 265.9)
XYZxyz(12.0284, 9.5312, 43.3166)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50B2 #B2902E
analogous
#2E92B2 #2E50B2 #4E2EB2
triadic
#2E50B2 #B22E50 #50B22E
tetradic
#2E50B2 #B22E92 #B2902E #2EB24E
square
#2E50B2 #B22E92 #B2902E #2EB24E
split-complementary
#2E50B2 #B24E2E #92B22E
monochromatic
#152451 #213A81 #2E50B2 #4C6ED1 #7D96DD

Accessibility & contrast

On white

7.22
#2E50B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2E50B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50B2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50B2#FFFFFF#000000##FFFFFF
##2E50B21.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e50b2;
/* rgb */ color: rgb(46, 80, 178);
/* oklch */ color: oklch(46.5% 0.161 265.9);
Tailwind
colors: {
  custom: {
    50: '#7980ca',
    500: '#2e50b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e50b2;
$custom-light: #7980ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50b2",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 224.545,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46505,
    "c": 0.16101,
    "h": 265.9
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#2E50B2
secondary
#C6B176
accent
#BA46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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