#2E2FE2#2E2FE2

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

Color values

HEX#2E2FE2
RGBrgb(46, 47, 226)
HSLhsl(240, 76%, 53%)
HSVhsv(240, 80%, 89%)
CMYKcmyk(79.6%, 79.2%, 0%, 11.4%)
CIE-LABlab(34.20, 58.94, -88.23)
CIE-LCHlch(34.20, 106.11, 303.74°)
OKLaboklab(45.82% 0.0007 -0.2555)
OKLCHoklch(45.82% 0.255 270.2)
XYZxyz(15.8660, 8.1030, 72.6646)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FE2 #E2E12E
analogous
#2E89E2 #2E2FE2 #872EE2
triadic
#2E2FE2 #E22E2F #2FE22E
tetradic
#2E2FE2 #E22E89 #E2E12E #2EE287
square
#2E2FE2 #E22E89 #E2E12E #2EE287
split-complementary
#2E2FE2 #E2872E #89E22E
monochromatic
#121383 #1A1BB9 #2E2FE2 #6464E9 #999AF1

Accessibility & contrast

On white

8.01
#2E2FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2FE2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FE2#FFFFFF#000000##FFFFFF
##2E2FE21.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#0047DF
Tritanopia (blue-blind)
#006789
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e2fe2;
/* rgb */ color: rgb(46, 47, 226);
/* oklch */ color: oklch(45.8% 0.255 270.2);
Tailwind
colors: {
  custom: {
    50: '#876ced',
    500: '#2e2fe2',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fe2;
$custom-light: #876ced;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fe2",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 239.667,
    "s": 75.63,
    "l": 53.333
  },
  "oklch": {
    "l": 0.45823,
    "c": 0.25548,
    "h": 270.2
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#2E2FE2
secondary
#DDDC8F
accent
#F136F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2E2FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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