#2E2EE3#2E2EE3

#2E2EE3 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.8% C 0.257 H 270.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2E2EE3
RGBrgb(46, 46, 227)
HSLhsl(240, 76%, 54%)
HSVhsv(240, 80%, 89%)
CMYKcmyk(79.7%, 79.7%, 0%, 11%)
CIE-LABlab(34.15, 59.72, -88.89)
CIE-LCHlch(34.15, 107.08, 303.90°)
OKLaboklab(45.82% 0.0007 -0.2574)
OKLCHoklch(45.82% 0.257 270.2)
XYZxyz(15.9641, 8.0790, 73.3762)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EE3 #E3E32E
analogous
#2E88E3 #2E2EE3 #882EE3
triadic
#2E2EE3 #E32E2E #2EE32E
tetradic
#2E2EE3 #E32E88 #E3E32E #2EE388
square
#2E2EE3 #E32E88 #E3E32E #2EE388
split-complementary
#2E2EE3 #E3882E #88E32E
monochromatic
#121285 #1919BB #2E2EE3 #6464EA #9A9AF1

Accessibility & contrast

On white

8.03
#2E2EE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2E2EE3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2EE3
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EE3#FFFFFF#000000##FFFFFF
##2E2EE31.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E8
Deuteranopia (green-blind)
#0047E0
Tritanopia (blue-blind)
#00678A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e2ee3;
/* rgb */ color: rgb(46, 46, 227);
/* oklch */ color: oklch(45.8% 0.257 270.2);
Tailwind
colors: {
  custom: {
    50: '#886bed',
    500: '#2e2ee3',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ee3;
$custom-light: #886bed;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ee3",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 227
  },
  "hsl": {
    "h": 240,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.45822,
    "c": 0.25736,
    "h": 270.2
  },
  "luminance": 0.08081
}

Semantic roles & 50–950 ramp

primary
#2E2EE3
secondary
#DDDD90
accent
#F335F3
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2E2EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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