#2E50B8#2E50B8

#2E50B8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.169 H 266.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2E50B8
RGBrgb(46, 80, 184)
HSLhsl(225, 60%, 45%)
HSVhsv(225, 75%, 72%)
CMYKcmyk(75%, 56.5%, 0%, 27.8%)
CIE-LABlab(37.44, 24.90, -58.54)
CIE-LCHlch(37.44, 63.61, 293.04°)
OKLaboklab(46.99% -0.0112 -0.1688)
OKLCHoklch(46.99% 0.169 266.2)
XYZxyz(12.6441, 9.7775, 46.5590)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50B8 #B8962E
analogous
#2E95B8 #2E50B8 #512EB8
triadic
#2E50B8 #B82E50 #50B82E
tetradic
#2E50B8 #B82E95 #B8962E #2EB851
square
#2E50B8 #B82E95 #B8962E #2EB851
split-complementary
#2E50B8 #B8512E #95B82E
monochromatic
#162556 #223B87 #2E50B8 #5070D3 #8198DF

Accessibility & contrast

On white

7.10
#2E50B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2E50B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50B8
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50B8#FFFFFF#000000##FFFFFF
##2E50B81.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e50b8;
/* rgb */ color: rgb(46, 80, 184);
/* oklch */ color: oklch(47.0% 0.169 266.2);
Tailwind
colors: {
  custom: {
    50: '#7b80ce',
    500: '#2e50b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e50b8;
$custom-light: #7b80ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50b8",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 184
  },
  "hsl": {
    "h": 225.217,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46988,
    "c": 0.1692,
    "h": 266.2
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E50B8

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

Preview Lab → · Contrast checker → · Palette generator →

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