#2E2984#2E2984

#2E2984 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.147 H 278.1°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2E2984
RGBrgb(46, 41, 132)
HSLhsl(243, 53%, 34%)
HSVhsv(243, 69%, 52%)
CMYKcmyk(65.2%, 68.9%, 0%, 48.2%)
CIE-LABlab(23.11, 31.43, -50.36)
CIE-LCHlch(23.11, 59.37, 301.97°)
OKLaboklab(35.03% 0.0207 -0.1452)
OKLCHoklch(35.03% 0.147 278.1)
XYZxyz(6.0832, 3.8322, 22.2444)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2984 #7F8429
analogous
#295284 #2E2984 #5C2984
triadic
#2E2984 #842E29 #29842E
tetradic
#2E2984 #842952 #7F8429 #29845C
square
#2E2984 #842952 #7F8429 #29845C
split-complementary
#2E2984 #845C29 #528429
monochromatic
#0D0C27 #1E1A55 #2E2984 #3E38B3 #615BCC

Accessibility & contrast

On white

11.89
#2E2984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E2984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2984
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2984#FFFFFF#000000##FFFFFF
##2E29841.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2984;
/* rgb */ color: rgb(46, 41, 132);
/* oklch */ color: oklch(35.0% 0.147 278.1);
Tailwind
colors: {
  custom: {
    50: '#7263a9',
    500: '#2e2984',
    950: '#000000',
  },
}
SCSS
$custom: #2e2984;
$custom-light: #7263a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2984",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 243.297,
    "s": 52.601,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35034,
    "c": 0.14668,
    "h": 278.1
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#2E2984
secondary
#ADB257
accent
#DC4CD4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2984

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

Preview Lab → · Contrast checker → · Palette generator →

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