#2E2DA4#2E2DA4

#2E2DA4 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.184 H 274.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2E2DA4
RGBrgb(46, 45, 164)
HSLhsl(241, 57%, 41%)
HSVhsv(241, 73%, 64%)
CMYKcmyk(72%, 72.6%, 0%, 35.7%)
CIE-LABlab(27.12, 40.01, -63.49)
CIE-LCHlch(27.12, 75.05, 302.22°)
OKLaboklab(38.87% 0.013 -0.1836)
OKLCHoklch(38.87% 0.184 274.1)
XYZxyz(8.7637, 5.1371, 35.6445)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2DA4 #A3A42D
analogous
#2D67A4 #2E2DA4 #692DA4
triadic
#2E2DA4 #A42E2D #2DA42E
tetradic
#2E2DA4 #A42D67 #A3A42D #2DA469
square
#2E2DA4 #A42D67 #A3A42D #2DA469
split-complementary
#2E2DA4 #A4692D #67A42D
monochromatic
#131344 #212074 #2E2DA4 #4443CB #7473D9

Accessibility & contrast

On white

10.36
#2E2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E2DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2DA4
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2DA4#FFFFFF#000000##FFFFFF
##2E2DA41.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e2da4;
/* rgb */ color: rgb(46, 45, 164);
/* oklch */ color: oklch(38.9% 0.184 274.1);
Tailwind
colors: {
  custom: {
    50: '#7967c0',
    500: '#2e2da4',
    950: '#000000',
  },
}
SCSS
$custom: #2e2da4;
$custom-light: #7967c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2da4",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 240.504,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38865,
    "c": 0.18406,
    "h": 274.1
  },
  "luminance": 0.05138
}

Semantic roles & 50–950 ramp

primary
#2E2DA4
secondary
#BFC06D
accent
#E048DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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