#2E2081#2E2081

#2E2081 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.153 H 280.6°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#2E2081
RGBrgb(46, 32, 129)
HSLhsl(249, 60%, 32%)
HSVhsv(249, 75%, 51%)
CMYKcmyk(64.3%, 75.2%, 0%, 49.4%)
CIE-LABlab(20.82, 35.90, -52.23)
CIE-LCHlch(20.82, 63.37, 304.50°)
OKLaboklab(33.31% 0.0283 -0.1506)
OKLCHoklch(33.31% 0.153 280.6)
XYZxyz(5.6044, 3.1984, 21.0866)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2081 #738120
analogous
#204381 #2E2081 #5F2081
triadic
#2E2081 #812E20 #20812E
tetradic
#2E2081 #812043 #738120 #20815F
square
#2E2081 #812043 #738120 #20815F
split-complementary
#2E2081 #815F20 #438120
monochromatic
#0B081F #1D1450 #2E2081 #3F2CB2 #5D49D2

Accessibility & contrast

On white

12.81
#2E2081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2E2081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2081
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2081#FFFFFF#000000##FFFFFF
##2E20811.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#002E7F
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2081;
/* rgb */ color: rgb(46, 32, 129);
/* oklch */ color: oklch(33.3% 0.153 280.6);
Tailwind
colors: {
  custom: {
    50: '#725da7',
    500: '#2e2081',
    950: '#000000',
  },
}
SCSS
$custom: #2e2081;
$custom-light: #725da7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2081",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 129
  },
  "hsl": {
    "h": 248.66,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33306,
    "c": 0.15329,
    "h": 280.6
  },
  "luminance": 0.03199
}

Semantic roles & 50–950 ramp

primary
#2E2081
secondary
#A4B449
accent
#E344CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2E2081

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

Preview Lab → · Contrast checker → · Palette generator →

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