#2E5BEE#2E5BEE

#2E5BEE is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.6% C 0.226 H 265.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2E5BEE
RGBrgb(46, 91, 238)
HSLhsl(226, 85%, 56%)
HSVhsv(226, 81%, 93%)
CMYKcmyk(80.7%, 61.8%, 0%, 6.7%)
CIE-LABlab(44.57, 37.79, -77.94)
CIE-LCHlch(44.57, 86.62, 295.87°)
OKLaboklab(53.65% -0.0169 -0.2256)
OKLCHoklch(53.65% 0.226 265.7)
XYZxyz(20.2950, 14.2336, 82.5501)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BEE #EEC12E
analogous
#2EBBEE #2E5BEE #612EEE
triadic
#2E5BEE #EE2E5B #5BEE2E
tetradic
#2E5BEE #EE2EBB #EEC12E #2EEE61
square
#2E5BEE #EE2EBB #EEC12E #2EEE61
split-complementary
#2E5BEE #EE612E #BBEE2E
monochromatic
#0C2C95 #113DCE #2E5BEE #6787F3 #9FB4F7

Accessibility & contrast

On white

5.46
#2E5BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2E5BEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BEE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BEE#FFFFFF#000000##FFFFFF
##2E5BEE1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#0061EB
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2e5bee;
/* rgb */ color: rgb(46, 91, 238);
/* oklch */ color: oklch(53.6% 0.226 265.7);
Tailwind
colors: {
  custom: {
    50: '#8789f5',
    500: '#2e5bee',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bee;
$custom-light: #8789f5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bee",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 225.938,
    "s": 84.956,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.22624,
    "h": 265.7
  },
  "luminance": 0.14236
}

Semantic roles & 50–950 ramp

primary
#2E5BEE
secondary
#E4D194
accent
#CB2DFB
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0D0B17
muted
#7E7C85

Preview Lab

Preview with #2E5BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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