#2E2DA1#2E2DA1

#2E2DA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.180 H 274.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2E2DA1
RGBrgb(46, 45, 161)
HSLhsl(241, 56%, 40%)
HSVhsv(241, 72%, 63%)
CMYKcmyk(71.4%, 72%, 0%, 36.9%)
CIE-LABlab(26.82, 38.99, -62.17)
CIE-LCHlch(26.82, 73.39, 302.09°)
OKLaboklab(38.56% 0.0135 -0.1797)
OKLCHoklch(38.56% 0.18 274.3)
XYZxyz(8.4960, 5.0300, 34.2344)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2DA1 #A0A12D
analogous
#2D66A1 #2E2DA1 #682DA1
triadic
#2E2DA1 #A12E2D #2DA12E
tetradic
#2E2DA1 #A12D66 #A0A12D #2DA168
square
#2E2DA1 #A12D66 #A0A12D #2DA168
split-complementary
#2E2DA1 #A1682D #66A12D
monochromatic
#131241 #202071 #2E2DA1 #4241CA #7271D7

Accessibility & contrast

On white

10.47
#2E2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2E2DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2DA1
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2DA1#FFFFFF#000000##FFFFFF
##2E2DA11.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e2da1;
/* rgb */ color: rgb(46, 45, 161);
/* oklch */ color: oklch(38.6% 0.180 274.3);
Tailwind
colors: {
  custom: {
    50: '#7867be',
    500: '#2e2da1',
    950: '#000000',
  },
}
SCSS
$custom: #2e2da1;
$custom-light: #7867be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2da1",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 240.517,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38559,
    "c": 0.18025,
    "h": 274.3
  },
  "luminance": 0.05031
}

Semantic roles & 50–950 ramp

primary
#2E2DA1
secondary
#BEBF6B
accent
#E048DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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