#2E41E2#2E41E2

#2E41E2 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.2% C 0.239 H 268.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2E41E2
RGBrgb(46, 65, 226)
HSLhsl(234, 76%, 53%)
HSVhsv(234, 80%, 89%)
CMYKcmyk(79.6%, 71.2%, 0%, 11.4%)
CIE-LABlab(37.57, 49.35, -82.64)
CIE-LCHlch(37.57, 96.26, 300.84°)
OKLaboklab(48.21% -0.0047 -0.2394)
OKLCHoklch(48.21% 0.24 268.9)
XYZxyz(16.7398, 9.8505, 72.9558)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E41E2 #E2CF2E
analogous
#2E9BE2 #2E41E2 #752EE2
triadic
#2E41E2 #E22E41 #41E22E
tetradic
#2E41E2 #E22E9B #E2CF2E #2EE275
square
#2E41E2 #E22E9B #E2CF2E #2EE275
split-complementary
#2E41E2 #E2752E #9BE22E
monochromatic
#121E83 #1A2BB9 #2E41E2 #6472E9 #99A3F1

Accessibility & contrast

On white

7.07
#2E41E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2E41E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E41E2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E41E2#FFFFFF#000000##FFFFFF
##2E41E21.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E7
Deuteranopia (green-blind)
#0050DF
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e41e2;
/* rgb */ color: rgb(46, 65, 226);
/* oklch */ color: oklch(48.2% 0.239 268.9);
Tailwind
colors: {
  custom: {
    50: '#8677ed',
    500: '#2e41e2',
    950: '#000000',
  },
}
SCSS
$custom: #2e41e2;
$custom-light: #8677ed;
$custom-dark: #000000;
JSON
{
  "hex": "#2e41e2",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 233.667,
    "s": 75.63,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48214,
    "c": 0.2395,
    "h": 268.9
  },
  "luminance": 0.09852
}

Semantic roles & 50–950 ramp

primary
#2E41E2
secondary
#DDD48F
accent
#DE36F2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #2E41E2

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

Preview Lab → · Contrast checker → · Palette generator →

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