#2E50B7#2E50B7

#2E50B7 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.168 H 266.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2E50B7
RGBrgb(46, 80, 183)
HSLhsl(225, 60%, 45%)
HSVhsv(225, 75%, 72%)
CMYKcmyk(74.9%, 56.3%, 0%, 28.2%)
CIE-LABlab(37.36, 24.52, -58.07)
CIE-LCHlch(37.36, 63.04, 292.89°)
OKLaboklab(46.91% -0.0113 -0.1675)
OKLCHoklch(46.91% 0.168 266.1)
XYZxyz(12.5396, 9.7357, 46.0089)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50B7 #B7952E
analogous
#2E95B7 #2E50B7 #502EB7
triadic
#2E50B7 #B72E50 #50B72E
tetradic
#2E50B7 #B72E95 #B7952E #2EB750
square
#2E50B7 #B72E95 #B7952E #2EB750
split-complementary
#2E50B7 #B7502E #95B72E
monochromatic
#152555 #223B86 #2E50B7 #4F70D3 #8098DF

Accessibility & contrast

On white

7.12
#2E50B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2E50B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50B7
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50B7#FFFFFF#000000##FFFFFF
##2E50B71.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e50b7;
/* rgb */ color: rgb(46, 80, 183);
/* oklch */ color: oklch(46.9% 0.168 266.1);
Tailwind
colors: {
  custom: {
    50: '#7a80cd',
    500: '#2e50b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e50b7;
$custom-light: #7a80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50b7",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 183
  },
  "hsl": {
    "h": 225.109,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46906,
    "c": 0.16784,
    "h": 266.1
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#2E50B7
secondary
#C8B479
accent
#BC45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E50B7

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

Preview Lab → · Contrast checker → · Palette generator →

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