#2E2E84#2E2E84

#2E2E84 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.140 H 276.7°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2E2E84
RGBrgb(46, 46, 132)
HSLhsl(240, 48%, 35%)
HSVhsv(240, 65%, 52%)
CMYKcmyk(65.2%, 65.2%, 0%, 48.2%)
CIE-LABlab(24.32, 28.19, -48.38)
CIE-LCHlch(24.32, 55.99, 300.23°)
OKLaboklab(35.92% 0.0163 -0.1394)
OKLCHoklch(35.92% 0.14 276.7)
XYZxyz(6.2672, 4.2003, 22.3058)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E84 #84842E
analogous
#2E5984 #2E2E84 #592E84
triadic
#2E2E84 #842E2E #2E842E
tetradic
#2E2E84 #842E59 #84842E #2E8459
square
#2E2E84 #842E59 #84842E #2E8459
split-complementary
#2E2E84 #84592E #59842E
monochromatic
#0E0E29 #1E1E57 #2E2E84 #3E3EB1 #6464C9

Accessibility & contrast

On white

11.41
#2E2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E84
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E84#FFFFFF#000000##FFFFFF
##2E2E841.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2e84;
/* rgb */ color: rgb(46, 46, 132);
/* oklch */ color: oklch(35.9% 0.140 276.7);
Tailwind
colors: {
  custom: {
    50: '#7167a9',
    500: '#2e2e84',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e84;
$custom-light: #7167a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e84",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 240,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35917,
    "c": 0.14033,
    "h": 276.7
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#2E2E84
secondary
#B0B05E
accent
#D850D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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