#2E50B9#2E50B9

#2E50B9 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.171 H 266.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2E50B9
RGBrgb(46, 80, 185)
HSLhsl(225, 60%, 45%)
HSVhsv(225, 75%, 73%)
CMYKcmyk(75.1%, 56.8%, 0%, 27.5%)
CIE-LABlab(37.52, 25.27, -59.00)
CIE-LCHlch(37.52, 64.19, 293.19°)
OKLaboklab(47.07% -0.0112 -0.1702)
OKLCHoklch(47.07% 0.171 266.2)
XYZxyz(12.7493, 9.8195, 47.1130)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50B9 #B9972E
analogous
#2E95B9 #2E50B9 #522EB9
triadic
#2E50B9 #B92E50 #50B92E
tetradic
#2E50B9 #B92E95 #B9972E #2EB952
square
#2E50B9 #B92E95 #B9972E #2EB952
split-complementary
#2E50B9 #B9522E #95B92E
monochromatic
#162657 #223B88 #2E50B9 #5171D4 #8299E0

Accessibility & contrast

On white

7.08
#2E50B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2E50B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50B9
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50B9#FFFFFF#000000##FFFFFF
##2E50B91.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e50b9;
/* rgb */ color: rgb(46, 80, 185);
/* oklch */ color: oklch(47.1% 0.171 266.2);
Tailwind
colors: {
  custom: {
    50: '#7b80cf',
    500: '#2e50b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e50b9;
$custom-light: #7b80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50b9",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 185
  },
  "hsl": {
    "h": 225.324,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47069,
    "c": 0.17056,
    "h": 266.2
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#2E50B9
secondary
#C9B67A
accent
#BC44E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E50B9

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

Preview Lab → · Contrast checker → · Palette generator →

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