#2E2082#2E2082

#2E2082 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.155 H 280.5°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#2E2082
RGBrgb(46, 32, 130)
HSLhsl(249, 60%, 32%)
HSVhsv(249, 75%, 51%)
CMYKcmyk(64.6%, 75.4%, 0%, 49%)
CIE-LABlab(20.92, 36.23, -52.69)
CIE-LCHlch(20.92, 63.94, 304.51°)
OKLaboklab(33.41% 0.0281 -0.152)
OKLCHoklch(33.41% 0.155 280.5)
XYZxyz(5.6712, 3.2251, 21.4384)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2082 #748220
analogous
#204382 #2E2082 #5F2082
triadic
#2E2082 #822E20 #20822E
tetradic
#2E2082 #822043 #748220 #20825F
square
#2E2082 #822043 #748220 #20825F
split-complementary
#2E2082 #825F20 #438220
monochromatic
#0B0820 #1D1451 #2E2082 #3F2CB3 #5D4AD2

Accessibility & contrast

On white

12.76
#2E2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2E2082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2082
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2082#FFFFFF#000000##FFFFFF
##2E20821.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2082;
/* rgb */ color: rgb(46, 32, 130);
/* oklch */ color: oklch(33.4% 0.155 280.5);
Tailwind
colors: {
  custom: {
    50: '#725da7',
    500: '#2e2082',
    950: '#000000',
  },
}
SCSS
$custom: #2e2082;
$custom-light: #725da7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2082",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 248.571,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33409,
    "c": 0.15458,
    "h": 280.5
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#2E2082
secondary
#A5B549
accent
#E444CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E2082

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

Preview Lab → · Contrast checker → · Palette generator →

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