#2E5DEE#2E5DEE

#2E5DEE is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.0% C 0.224 H 265.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2E5DEE
RGBrgb(46, 93, 238)
HSLhsl(225, 85%, 56%)
HSVhsv(225, 81%, 93%)
CMYKcmyk(80.7%, 60.9%, 0%, 6.7%)
CIE-LABlab(45.05, 36.54, -77.15)
CIE-LCHlch(45.05, 85.36, 295.34°)
OKLaboklab(54.01% -0.0179 -0.2232)
OKLCHoklch(54.01% 0.224 265.4)
XYZxyz(20.4682, 14.5801, 82.6078)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DEE #EEBF2E
analogous
#2EBDEE #2E5DEE #5F2EEE
triadic
#2E5DEE #EE2E5D #5DEE2E
tetradic
#2E5DEE #EE2EBD #EEBF2E #2EEE5F
square
#2E5DEE #EE2EBD #EEBF2E #2EEE5F
split-complementary
#2E5DEE #EE5F2E #BDEE2E
monochromatic
#0C2E95 #113FCE #2E5DEE #6789F3 #9FB5F7

Accessibility & contrast

On white

5.36
#2E5DEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2E5DEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DEE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DEE#FFFFFF#000000##FFFFFF
##2E5DEE1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F3
Deuteranopia (green-blind)
#0062EB
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e5dee;
/* rgb */ color: rgb(46, 93, 238);
/* oklch */ color: oklch(54.0% 0.224 265.4);
Tailwind
colors: {
  custom: {
    50: '#868af5',
    500: '#2e5dee',
    950: '#000000',
  },
}
SCSS
$custom: #2e5dee;
$custom-light: #868af5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5dee",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 238
  },
  "hsl": {
    "h": 225.313,
    "s": 84.956,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54011,
    "c": 0.22397,
    "h": 265.4
  },
  "luminance": 0.14583
}

Semantic roles & 50–950 ramp

primary
#2E5DEE
secondary
#E4D094
accent
#C92DFB
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0D0B17
muted
#7E7C85

Preview Lab

Preview with #2E5DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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