#2E2282#2E2282

#2E2282 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.152 H 280.0°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#2E2282
RGBrgb(46, 34, 130)
HSLhsl(248, 59%, 32%)
HSVhsv(248, 74%, 51%)
CMYKcmyk(64.6%, 73.8%, 0%, 49%)
CIE-LABlab(21.34, 35.06, -52.00)
CIE-LCHlch(21.34, 62.71, 303.98°)
OKLaboklab(33.71% 0.0266 -0.15)
OKLCHoklch(33.71% 0.152 280)
XYZxyz(5.7267, 3.3362, 21.4569)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2282 #768222
analogous
#224682 #2E2282 #5E2282
triadic
#2E2282 #822E22 #22822E
tetradic
#2E2282 #822246 #768222 #22825E
square
#2E2282 #822246 #768222 #22825E
split-complementary
#2E2282 #825E22 #468222
monochromatic
#0C0921 #1D1551 #2E2282 #3F2FB3 #5E4ED1

Accessibility & contrast

On white

12.59
#2E2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2E2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2282
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2282#FFFFFF#000000##FFFFFF
##2E22821.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e2282;
/* rgb */ color: rgb(46, 34, 130);
/* oklch */ color: oklch(33.7% 0.152 280.0);
Tailwind
colors: {
  custom: {
    50: '#725fa7',
    500: '#2e2282',
    950: '#000000',
  },
}
SCSS
$custom: #2e2282;
$custom-light: #725fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2282",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 247.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33707,
    "c": 0.15234,
    "h": 280
  },
  "luminance": 0.03337
}

Semantic roles & 50–950 ramp

primary
#2E2282
secondary
#A7B44C
accent
#E246CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E2282

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

Preview Lab → · Contrast checker → · Palette generator →

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