#2E2FE0#2E2FE0

#2E2FE0 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.6% C 0.253 H 270.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2E2FE0
RGBrgb(46, 47, 224)
HSLhsl(240, 74%, 53%)
HSVhsv(240, 79%, 88%)
CMYKcmyk(79.5%, 79%, 0%, 12.2%)
CIE-LABlab(33.97, 58.33, -87.46)
CIE-LCHlch(33.97, 105.13, 303.70°)
OKLaboklab(45.6% 0.0011 -0.2532)
OKLCHoklch(45.6% 0.253 270.2)
XYZxyz(15.5932, 7.9939, 71.2277)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FE0 #E0DF2E
analogous
#2E88E0 #2E2FE0 #862EE0
triadic
#2E2FE0 #E02E2F #2FE02E
tetradic
#2E2FE0 #E02E88 #E0DF2E #2EE086
square
#2E2FE0 #E02E88 #E0DF2E #2EE086
split-complementary
#2E2FE0 #E0862E #88E02E
monochromatic
#131481 #1B1CB6 #2E2FE0 #6364E8 #9999F0

Accessibility & contrast

On white

8.08
#2E2FE0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2E2FE0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2FE0
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FE0#FFFFFF#000000##FFFFFF
##2E2FE01.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E5
Deuteranopia (green-blind)
#0046DD
Tritanopia (blue-blind)
#006788
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e2fe0;
/* rgb */ color: rgb(46, 47, 224);
/* oklch */ color: oklch(45.6% 0.253 270.2);
Tailwind
colors: {
  custom: {
    50: '#876beb',
    500: '#2e2fe0',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fe0;
$custom-light: #876beb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fe0",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 224
  },
  "hsl": {
    "h": 239.663,
    "s": 74.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.456,
    "c": 0.25325,
    "h": 270.2
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

primary
#2E2FE0
secondary
#DBDB8E
accent
#F037F1
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #2E2FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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