#2E2B84#2E2B84

#2E2B84 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.144 H 277.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#2E2B84
RGBrgb(46, 43, 132)
HSLhsl(242, 51%, 34%)
HSVhsv(242, 67%, 52%)
CMYKcmyk(65.2%, 67.4%, 0%, 48.2%)
CIE-LABlab(23.59, 30.15, -49.58)
CIE-LCHlch(23.59, 58.03, 301.30°)
OKLaboklab(35.38% 0.019 -0.1429)
OKLCHoklch(35.38% 0.144 277.6)
XYZxyz(6.1541, 3.9740, 22.2681)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B84 #81842B
analogous
#2B5584 #2E2B84 #5B2B84
triadic
#2E2B84 #842E2B #2B842E
tetradic
#2E2B84 #842B55 #81842B #2B845B
square
#2E2B84 #842B55 #81842B #2B845B
split-complementary
#2E2B84 #845B2B #55842B
monochromatic
#0E0D28 #1E1C56 #2E2B84 #3E3AB2 #625FCB

Accessibility & contrast

On white

11.70
#2E2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B84
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B84#FFFFFF#000000##FFFFFF
##2E2B841.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2b84;
/* rgb */ color: rgb(46, 43, 132);
/* oklch */ color: oklch(35.4% 0.144 277.6);
Tailwind
colors: {
  custom: {
    50: '#7265a9',
    500: '#2e2b84',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b84;
$custom-light: #7265a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b84",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 242.022,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35379,
    "c": 0.14417,
    "h": 277.6
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#2E2B84
secondary
#AEB15A
accent
#DA4DD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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