#2E5EEE#2E5EEE

#2E5EEE is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.2% C 0.223 H 265.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2E5EEE
RGBrgb(46, 94, 238)
HSLhsl(225, 85%, 56%)
HSVhsv(225, 81%, 93%)
CMYKcmyk(80.7%, 60.5%, 0%, 6.7%)
CIE-LABlab(45.30, 35.91, -76.74)
CIE-LCHlch(45.30, 84.73, 295.07°)
OKLaboklab(54.19% -0.0185 -0.2221)
OKLCHoklch(54.19% 0.223 265.2)
XYZxyz(20.5566, 14.7568, 82.6373)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EEE #EEBE2E
analogous
#2EBEEE #2E5EEE #5E2EEE
triadic
#2E5EEE #EE2E5E #5EEE2E
tetradic
#2E5EEE #EE2EBE #EEBE2E #2EEE5E
square
#2E5EEE #EE2EBE #EEBE2E #2EEE5E
split-complementary
#2E5EEE #EE5E2E #BEEE2E
monochromatic
#0C2E95 #1140CE #2E5EEE #678AF3 #9FB5F7

Accessibility & contrast

On white

5.31
#2E5EEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2E5EEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EEE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EEE#FFFFFF#000000##FFFFFF
##2E5EEE1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e5eee;
/* rgb */ color: rgb(46, 94, 238);
/* oklch */ color: oklch(54.2% 0.223 265.2);
Tailwind
colors: {
  custom: {
    50: '#868bf5',
    500: '#2e5eee',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eee;
$custom-light: #868bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eee",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 225,
    "s": 84.956,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54194,
    "c": 0.22283,
    "h": 265.2
  },
  "luminance": 0.14759
}

Semantic roles & 50–950 ramp

primary
#2E5EEE
secondary
#E4D094
accent
#C82DFB
background
#F9F8FF
surface
#F1F0FF
border
#CBCBD7
text
#0D0C17
muted
#7E7D85

Preview Lab

Preview with #2E5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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