#2E2884#2E2884

#2E2884 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.148 H 278.4°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#2E2884
RGBrgb(46, 40, 132)
HSLhsl(244, 53%, 34%)
HSVhsv(244, 70%, 52%)
CMYKcmyk(65.2%, 69.7%, 0%, 48.2%)
CIE-LABlab(22.88, 32.06, -50.75)
CIE-LCHlch(22.88, 60.03, 302.28°)
OKLaboklab(34.87% 0.0215 -0.1463)
OKLCHoklch(34.87% 0.148 278.4)
XYZxyz(6.0490, 3.7639, 22.2331)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2884 #7E8428
analogous
#285084 #2E2884 #5C2884
triadic
#2E2884 #842E28 #28842E
tetradic
#2E2884 #842850 #7E8428 #28845C
square
#2E2884 #842850 #7E8428 #28845C
split-complementary
#2E2884 #845C28 #508428
monochromatic
#0D0C26 #1E1A55 #2E2884 #3E36B3 #615ACD

Accessibility & contrast

On white

11.98
#2E2884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2E2884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2884
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2884#FFFFFF#000000##FFFFFF
##2E28841.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2884;
/* rgb */ color: rgb(46, 40, 132);
/* oklch */ color: oklch(34.9% 0.148 278.4);
Tailwind
colors: {
  custom: {
    50: '#7263a9',
    500: '#2e2884',
    950: '#000000',
  },
}
SCSS
$custom: #2e2884;
$custom-light: #7263a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2884",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 243.913,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34865,
    "c": 0.14791,
    "h": 278.4
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

primary
#2E2884
secondary
#ACB256
accent
#DD4BD3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2884

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

Preview Lab → · Contrast checker → · Palette generator →

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