#2E2A84#2E2A84

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

Color values

HEX#2E2A84
RGBrgb(46, 42, 132)
HSLhsl(243, 52%, 34%)
HSVhsv(243, 68%, 52%)
CMYKcmyk(65.2%, 68.2%, 0%, 48.2%)
CIE-LABlab(23.35, 30.79, -49.98)
CIE-LCHlch(23.35, 58.70, 301.64°)
OKLaboklab(35.21% 0.0198 -0.1441)
OKLCHoklch(35.21% 0.145 277.8)
XYZxyz(6.1182, 3.9022, 22.2561)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A84 #80842A
analogous
#2A5384 #2E2A84 #5B2A84
triadic
#2E2A84 #842E2A #2A842E
tetradic
#2E2A84 #842A53 #80842A #2A845B
square
#2E2A84 #842A53 #80842A #2A845B
split-complementary
#2E2A84 #845B2A #53842A
monochromatic
#0E0C27 #1E1B56 #2E2A84 #3E39B2 #625DCB

Accessibility & contrast

On white

11.79
#2E2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A84
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A84#FFFFFF#000000##FFFFFF
##2E2A841.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2a84;
/* rgb */ color: rgb(46, 42, 132);
/* oklch */ color: oklch(35.2% 0.145 277.8);
Tailwind
colors: {
  custom: {
    50: '#7264a9',
    500: '#2e2a84',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a84;
$custom-light: #7264a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a84",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 242.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35205,
    "c": 0.14544,
    "h": 277.8
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

primary
#2E2A84
secondary
#ADB159
accent
#DB4DD5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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