#2E2C80#2E2C80

#2E2C80 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.137 H 277.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2E2C80
RGBrgb(46, 44, 128)
HSLhsl(241, 49%, 34%)
HSVhsv(241, 66%, 50%)
CMYKcmyk(64.1%, 65.6%, 0%, 49.8%)
CIE-LABlab(23.47, 28.08, -47.25)
CIE-LCHlch(23.47, 54.97, 300.72°)
OKLaboklab(35.19% 0.0185 -0.1361)
OKLCHoklch(35.19% 0.137 277.7)
XYZxyz(5.9224, 3.9403, 20.8663)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C80 #7E802C
analogous
#2C5480 #2E2C80 #582C80
triadic
#2E2C80 #802E2C #2C802E
tetradic
#2E2C80 #802C54 #7E802C #2C8058
square
#2E2C80 #802C54 #7E802C #2C8058
split-complementary
#2E2C80 #80582C #54802C
monochromatic
#0D0D25 #1E1C52 #2E2C80 #3E3CAE #615FC8

Accessibility & contrast

On white

11.74
#2E2C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E2C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C80
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C80#FFFFFF#000000##FFFFFF
##2E2C801.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2c80;
/* rgb */ color: rgb(46, 44, 128);
/* oklch */ color: oklch(35.2% 0.137 277.7);
Tailwind
colors: {
  custom: {
    50: '#7165a6',
    500: '#2e2c80',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c80;
$custom-light: #7165a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c80",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 241.429,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35187,
    "c": 0.13733,
    "h": 277.7
  },
  "luminance": 0.03941
}

Semantic roles & 50–950 ramp

primary
#2E2C80
secondary
#ACAE5A
accent
#D84FD5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2E2C80

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

Preview Lab → · Contrast checker → · Palette generator →

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