#2E50BF#2E50BF

#2E50BF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.179 H 266.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2E50BF
RGBrgb(46, 80, 191)
HSLhsl(226, 61%, 46%)
HSVhsv(226, 76%, 75%)
CMYKcmyk(75.9%, 58.1%, 0%, 25.1%)
CIE-LABlab(37.98, 27.52, -61.76)
CIE-LCHlch(37.98, 67.61, 294.02°)
OKLaboklab(47.57% -0.0109 -0.1783)
OKLCHoklch(47.57% 0.179 266.5)
XYZxyz(13.3961, 10.0783, 50.5194)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50BF #BF9D2E
analogous
#2E99BF #2E50BF #552EBF
triadic
#2E50BF #BF2E50 #50BF2E
tetradic
#2E50BF #BF2E99 #BF9D2E #2EBF55
square
#2E50BF #BF2E99 #BF9D2E #2EBF55
split-complementary
#2E50BF #BF552E #99BF2E
monochromatic
#16275C #223B8E #2E50BF #5473D6 #869BE2

Accessibility & contrast

On white

6.96
#2E50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2E50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E50BF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50BF#FFFFFF#000000##FFFFFF
##2E50BF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e50bf;
/* rgb */ color: rgb(46, 80, 191);
/* oklch */ color: oklch(47.6% 0.179 266.5);
Tailwind
colors: {
  custom: {
    50: '#7c80d3',
    500: '#2e50bf',
    950: '#000000',
  },
}
SCSS
$custom: #2e50bf;
$custom-light: #7c80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50bf",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 225.931,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47565,
    "c": 0.17863,
    "h": 266.5
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#2E50BF
secondary
#CBB97E
accent
#BF44E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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