#2E2084#2E2084

#2E2084 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.157 H 280.1°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#2E2084
RGBrgb(46, 32, 132)
HSLhsl(248, 61%, 32%)
HSVhsv(248, 76%, 52%)
CMYKcmyk(65.2%, 75.8%, 0%, 48.2%)
CIE-LABlab(21.13, 36.88, -53.61)
CIE-LCHlch(21.13, 65.07, 304.53°)
OKLaboklab(33.62% 0.0276 -0.1547)
OKLCHoklch(33.62% 0.157 280.1)
XYZxyz(5.8068, 3.2794, 22.1523)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2084 #768420
analogous
#204484 #2E2084 #602084
triadic
#2E2084 #842E20 #20842E
tetradic
#2E2084 #842044 #768420 #208460
square
#2E2084 #842044 #768420 #208460
split-complementary
#2E2084 #846020 #448420
monochromatic
#0C0821 #1D1453 #2E2084 #3F2CB5 #5E4BD3

Accessibility & contrast

On white

12.68
#2E2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2E2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2084
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2084#FFFFFF#000000##FFFFFF
##2E20841.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e2084;
/* rgb */ color: rgb(46, 32, 132);
/* oklch */ color: oklch(33.6% 0.157 280.1);
Tailwind
colors: {
  custom: {
    50: '#735da9',
    500: '#2e2084',
    950: '#000000',
  },
}
SCSS
$custom: #2e2084;
$custom-light: #735da9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2084",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 248.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33617,
    "c": 0.15714,
    "h": 280.1
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#2E2084
secondary
#A7B64A
accent
#E444CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E2084

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

Preview Lab → · Contrast checker → · Palette generator →

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