#2E2C84#2E2C84

#2E2C84 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.143 H 277.3°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2E2C84
RGBrgb(46, 44, 132)
HSLhsl(241, 50%, 35%)
HSVhsv(241, 67%, 52%)
CMYKcmyk(65.2%, 66.7%, 0%, 48.2%)
CIE-LABlab(23.83, 29.50, -49.19)
CIE-LCHlch(23.83, 57.35, 300.95°)
OKLaboklab(35.56% 0.0181 -0.1418)
OKLCHoklch(35.56% 0.143 277.3)
XYZxyz(6.1909, 4.0477, 22.2804)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C84 #82842C
analogous
#2C5684 #2E2C84 #5A2C84
triadic
#2E2C84 #842E2C #2C842E
tetradic
#2E2C84 #842C56 #82842C #2C845A
square
#2E2C84 #842C56 #82842C #2C845A
split-complementary
#2E2C84 #845A2C #56842C
monochromatic
#0E0D28 #1E1D56 #2E2C84 #3E3BB2 #6360CA

Accessibility & contrast

On white

11.60
#2E2C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E2C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C84
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C84#FFFFFF#000000##FFFFFF
##2E2C841.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2c84;
/* rgb */ color: rgb(46, 44, 132);
/* oklch */ color: oklch(35.6% 0.143 277.3);
Tailwind
colors: {
  custom: {
    50: '#7265a9',
    500: '#2e2c84',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c84;
$custom-light: #7265a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c84",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 241.364,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35556,
    "c": 0.14291,
    "h": 277.3
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#2E2C84
secondary
#AEB05C
accent
#DA4ED6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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