#2E2280#2E2280

#2E2280 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.150 H 280.4°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#2E2280
RGBrgb(46, 34, 128)
HSLhsl(248, 58%, 32%)
HSVhsv(248, 73%, 50%)
CMYKcmyk(64.1%, 73.4%, 0%, 49.8%)
CIE-LABlab(21.14, 34.39, -51.07)
CIE-LCHlch(21.14, 61.56, 303.96°)
OKLaboklab(33.5% 0.027 -0.1473)
OKLCHoklch(33.5% 0.15 280.4)
XYZxyz(5.5938, 3.2830, 20.7568)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2280 #748022
analogous
#224580 #2E2280 #5D2280
triadic
#2E2280 #802E22 #22802E
tetradic
#2E2280 #802245 #748022 #22805D
square
#2E2280 #802245 #748022 #22805D
split-complementary
#2E2280 #805D22 #458022
monochromatic
#0B081F #1D1550 #2E2280 #3F2FB0 #5D4DD0

Accessibility & contrast

On white

12.68
#2E2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2E2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2280
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2280#FFFFFF#000000##FFFFFF
##2E22801.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e2280;
/* rgb */ color: rgb(46, 34, 128);
/* oklch */ color: oklch(33.5% 0.150 280.4);
Tailwind
colors: {
  custom: {
    50: '#725ea6',
    500: '#2e2280',
    950: '#000000',
  },
}
SCSS
$custom: #2e2280;
$custom-light: #725ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2280",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 247.66,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33504,
    "c": 0.14971,
    "h": 280.4
  },
  "luminance": 0.03283
}

Semantic roles & 50–950 ramp

primary
#2E2280
secondary
#A5B24B
accent
#E147CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2E2280

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

Preview Lab → · Contrast checker → · Palette generator →

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