#2E1E94#2E1E94

#2E1E94 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.179 H 277.9°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#2E1E94
RGBrgb(46, 30, 148)
HSLhsl(248, 66%, 35%)
HSVhsv(248, 80%, 58%)
CMYKcmyk(68.9%, 79.7%, 0%, 42%)
CIE-LABlab(22.47, 43.12, -61.39)
CIE-LCHlch(22.47, 75.02, 305.08°)
OKLaboklab(35.07% 0.0247 -0.1773)
OKLCHoklch(35.07% 0.179 277.9)
XYZxyz(6.9346, 3.6469, 28.3497)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1E94 #84941E
analogous
#1E4994 #2E1E94 #691E94
triadic
#2E1E94 #942E1E #1E942E
tetradic
#2E1E94 #941E49 #84941E #1E9469
square
#2E1E94 #941E49 #84941E #1E9469
split-complementary
#2E1E94 #94691E #49941E
monochromatic
#0E092E #1E1461 #2E1E94 #3E28C7 #6451DC

Accessibility & contrast

On white

12.14
#2E1E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2E1E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1E94
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1E94#FFFFFF#000000##FFFFFF
##2E1E941.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e1e94;
/* rgb */ color: rgb(46, 30, 148);
/* oklch */ color: oklch(35.1% 0.179 277.9);
Tailwind
colors: {
  custom: {
    50: '#765db5',
    500: '#2e1e94',
    950: '#000000',
  },
}
SCSS
$custom: #2e1e94;
$custom-light: #765db5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1e94",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 248.136,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35071,
    "c": 0.17906,
    "h": 277.9
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#2E1E94
secondary
#B0BF4F
accent
#E93FD2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E1E94

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

Preview Lab → · Contrast checker → · Palette generator →

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