#2E2FE3#2E2FE3

#2E2FE3 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.9% C 0.257 H 270.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2E2FE3
RGBrgb(46, 47, 227)
HSLhsl(240, 76%, 54%)
HSVhsv(240, 80%, 89%)
CMYKcmyk(79.7%, 79.3%, 0%, 11%)
CIE-LABlab(34.31, 59.24, -88.61)
CIE-LCHlch(34.31, 106.59, 303.77°)
OKLaboklab(45.93% 0.0005 -0.2566)
OKLCHoklch(45.93% 0.257 270.1)
XYZxyz(16.0036, 8.1581, 73.3894)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FE3 #E3E22E
analogous
#2E89E3 #2E2FE3 #882EE3
triadic
#2E2FE3 #E32E2F #2FE32E
tetradic
#2E2FE3 #E32E89 #E3E22E #2EE388
square
#2E2FE3 #E32E89 #E3E22E #2EE388
split-complementary
#2E2FE3 #E3882E #89E32E
monochromatic
#121285 #191ABB #2E2FE3 #6465EA #9A9AF1

Accessibility & contrast

On white

7.98
#2E2FE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2E2FE3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2FE3
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FE3#FFFFFF#000000##FFFFFF
##2E2FE31.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE8
Deuteranopia (green-blind)
#0047E0
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e2fe3;
/* rgb */ color: rgb(46, 47, 227);
/* oklch */ color: oklch(45.9% 0.257 270.1);
Tailwind
colors: {
  custom: {
    50: '#886ced',
    500: '#2e2fe3',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fe3;
$custom-light: #886ced;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fe3",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 227
  },
  "hsl": {
    "h": 239.669,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.45935,
    "c": 0.25659,
    "h": 270.1
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#2E2FE3
secondary
#DDDD90
accent
#F235F3
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2E2FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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