#2E50B3#2E50B3

#2E50B3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.162 H 265.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2E50B3
RGBrgb(46, 80, 179)
HSLhsl(225, 59%, 44%)
HSVhsv(225, 74%, 70%)
CMYKcmyk(74.3%, 55.3%, 0%, 29.8%)
CIE-LABlab(37.06, 23.01, -56.21)
CIE-LCHlch(37.06, 60.73, 292.27°)
OKLaboklab(46.58% -0.0115 -0.162)
OKLCHoklch(46.58% 0.162 265.9)
XYZxyz(12.1292, 9.5715, 43.8473)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50B3 #B3912E
analogous
#2E93B3 #2E50B3 #4F2EB3
triadic
#2E50B3 #B32E50 #50B32E
tetradic
#2E50B3 #B32E93 #B3912E #2EB34F
square
#2E50B3 #B32E93 #B3912E #2EB34F
split-complementary
#2E50B3 #B34F2E #93B32E
monochromatic
#152452 #213A82 #2E50B3 #4D6FD1 #7E96DE

Accessibility & contrast

On white

7.21
#2E50B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2E50B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50B3
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50B3#FFFFFF#000000##FFFFFF
##2E50B31.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e50b3;
/* rgb */ color: rgb(46, 80, 179);
/* oklch */ color: oklch(46.6% 0.162 265.9);
Tailwind
colors: {
  custom: {
    50: '#7980ca',
    500: '#2e50b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e50b3;
$custom-light: #7980ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50b3",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 179
  },
  "hsl": {
    "h": 224.662,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46584,
    "c": 0.16238,
    "h": 265.9
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#2E50B3
secondary
#C6B276
accent
#BA46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E50B3

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

Preview Lab → · Contrast checker → · Palette generator →

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