#2E50B6#2E50B6

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

Color values

HEX#2E50B6
RGBrgb(46, 80, 182)
HSLhsl(225, 60%, 45%)
HSVhsv(225, 75%, 71%)
CMYKcmyk(74.7%, 56%, 0%, 28.6%)
CIE-LABlab(37.29, 24.14, -57.61)
CIE-LCHlch(37.29, 62.46, 292.74°)
OKLaboklab(46.83% -0.0114 -0.1661)
OKLCHoklch(46.83% 0.166 266.1)
XYZxyz(12.4359, 9.6942, 45.4627)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50B6 #B6942E
analogous
#2E94B6 #2E50B6 #502EB6
triadic
#2E50B6 #B62E50 #50B62E
tetradic
#2E50B6 #B62E94 #B6942E #2EB650
square
#2E50B6 #B62E94 #B6942E #2EB650
split-complementary
#2E50B6 #B6502E #94B62E
monochromatic
#152554 #223B85 #2E50B6 #4F70D2 #8097DF

Accessibility & contrast

On white

7.14
#2E50B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2E50B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50B6
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50B6#FFFFFF#000000##FFFFFF
##2E50B61.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e50b6;
/* rgb */ color: rgb(46, 80, 182);
/* oklch */ color: oklch(46.8% 0.166 266.1);
Tailwind
colors: {
  custom: {
    50: '#7a80cd',
    500: '#2e50b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e50b6;
$custom-light: #7a80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50b6",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 182
  },
  "hsl": {
    "h": 225,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46825,
    "c": 0.16648,
    "h": 266.1
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#2E50B6
secondary
#C8B478
accent
#BB45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #2E50B6

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

Preview Lab → · Contrast checker → · Palette generator →

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