#2E50BA#2E50BA

#2E50BA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.172 H 266.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2E50BA
RGBrgb(46, 80, 186)
HSLhsl(225, 60%, 45%)
HSVhsv(225, 75%, 73%)
CMYKcmyk(75.3%, 57%, 0%, 27.1%)
CIE-LABlab(37.59, 25.65, -59.46)
CIE-LCHlch(37.59, 64.76, 293.33°)
OKLaboklab(47.15% -0.0111 -0.1715)
OKLCHoklch(47.15% 0.172 266.3)
XYZxyz(12.8552, 9.8619, 47.6709)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50BA #BA982E
analogous
#2E96BA #2E50BA #522EBA
triadic
#2E50BA #BA2E50 #50BA2E
tetradic
#2E50BA #BA2E96 #BA982E #2EBA52
square
#2E50BA #BA2E96 #BA982E #2EBA52
split-complementary
#2E50BA #BA522E #96BA2E
monochromatic
#162658 #223B89 #2E50BA #5171D4 #8299E0

Accessibility & contrast

On white

7.06
#2E50BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2E50BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50BA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50BA#FFFFFF#000000##FFFFFF
##2E50BA1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e50ba;
/* rgb */ color: rgb(46, 80, 186);
/* oklch */ color: oklch(47.2% 0.172 266.3);
Tailwind
colors: {
  custom: {
    50: '#7b80d0',
    500: '#2e50ba',
    950: '#000000',
  },
}
SCSS
$custom: #2e50ba;
$custom-light: #7b80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50ba",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 225.429,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.17191,
    "h": 266.3
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#2E50BA
secondary
#C9B67B
accent
#BD44E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E50BA

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

Preview Lab → · Contrast checker → · Palette generator →

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