#2E5AEE#2E5AEE

#2E5AEE is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.5% C 0.227 H 265.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2E5AEE
RGBrgb(46, 90, 238)
HSLhsl(226, 85%, 56%)
HSVhsv(226, 81%, 93%)
CMYKcmyk(80.7%, 62.2%, 0%, 6.7%)
CIE-LABlab(44.32, 38.41, -78.34)
CIE-LCHlch(44.32, 87.25, 296.12°)
OKLaboklab(53.47% -0.0164 -0.2268)
OKLCHoklch(53.47% 0.227 265.9)
XYZxyz(20.2101, 14.0638, 82.5218)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AEE #EEC22E
analogous
#2EBAEE #2E5AEE #622EEE
triadic
#2E5AEE #EE2E5A #5AEE2E
tetradic
#2E5AEE #EE2EBA #EEC22E #2EEE62
square
#2E5AEE #EE2EBA #EEC22E #2EEE62
split-complementary
#2E5AEE #EE622E #BAEE2E
monochromatic
#0C2C95 #113CCE #2E5AEE #6787F3 #9FB3F7

Accessibility & contrast

On white

5.51
#2E5AEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2E5AEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AEE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AEE#FFFFFF#000000##FFFFFF
##2E5AEE1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#0060EB
Tritanopia (blue-blind)
#00819C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2e5aee;
/* rgb */ color: rgb(46, 90, 238);
/* oklch */ color: oklch(53.5% 0.227 265.9);
Tailwind
colors: {
  custom: {
    50: '#8788f5',
    500: '#2e5aee',
    950: '#000000',
  },
}
SCSS
$custom: #2e5aee;
$custom-light: #8788f5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5aee",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 226.25,
    "s": 84.956,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5347,
    "c": 0.22737,
    "h": 265.9
  },
  "luminance": 0.14066
}

Semantic roles & 50–950 ramp

primary
#2E5AEE
secondary
#E4D294
accent
#CC2DFB
background
#F9F8FF
surface
#F2EFFF
border
#CCCAD7
text
#0D0B17
muted
#7E7C85

Preview Lab

Preview with #2E5AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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