#2E5FEE#2E5FEE

#2E5FEE is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.4% C 0.222 H 265.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2E5FEE
RGBrgb(46, 95, 238)
HSLhsl(225, 85%, 56%)
HSVhsv(225, 81%, 93%)
CMYKcmyk(80.7%, 60.1%, 0%, 6.7%)
CIE-LABlab(45.55, 35.28, -76.34)
CIE-LCHlch(45.55, 84.10, 294.80°)
OKLaboklab(54.38% -0.019 -0.2209)
OKLCHoklch(54.38% 0.222 265.1)
XYZxyz(20.6461, 14.9358, 82.6671)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FEE #EEBD2E
analogous
#2EBFEE #2E5FEE #5D2EEE
triadic
#2E5FEE #EE2E5F #5FEE2E
tetradic
#2E5FEE #EE2EBF #EEBD2E #2EEE5D
square
#2E5FEE #EE2EBF #EEBD2E #2EEE5D
split-complementary
#2E5FEE #EE5D2E #BFEE2E
monochromatic
#0C2F95 #1141CE #2E5FEE #678AF3 #9FB6F7

Accessibility & contrast

On white

5.27
#2E5FEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2E5FEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5FEE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FEE#FFFFFF#000000##FFFFFF
##2E5FEE1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F3
Deuteranopia (green-blind)
#0063EB
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e5fee;
/* rgb */ color: rgb(46, 95, 238);
/* oklch */ color: oklch(54.4% 0.222 265.1);
Tailwind
colors: {
  custom: {
    50: '#868bf5',
    500: '#2e5fee',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fee;
$custom-light: #868bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fee",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 224.688,
    "s": 84.956,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54378,
    "c": 0.22168,
    "h": 265.1
  },
  "luminance": 0.14938
}

Semantic roles & 50–950 ramp

primary
#2E5FEE
secondary
#E4CF94
accent
#C62DFB
background
#F9F8FF
surface
#F1F0FE
border
#CBCBD6
text
#0D0C17
muted
#7E7D85

Preview Lab

Preview with #2E5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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