#2E2DA5#2E2DA5

#2E2DA5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.185 H 274.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2E2DA5
RGBrgb(46, 45, 165)
HSLhsl(241, 57%, 41%)
HSVhsv(241, 73%, 65%)
CMYKcmyk(72.1%, 72.7%, 0%, 35.3%)
CIE-LABlab(27.22, 40.35, -63.93)
CIE-LCHlch(27.22, 75.60, 302.26°)
OKLaboklab(38.97% 0.0129 -0.1849)
OKLCHoklch(38.97% 0.185 274)
XYZxyz(8.8544, 5.1734, 36.1219)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2DA5 #A4A52D
analogous
#2D68A5 #2E2DA5 #6A2DA5
triadic
#2E2DA5 #A52E2D #2DA52E
tetradic
#2E2DA5 #A52D68 #A4A52D #2DA56A
square
#2E2DA5 #A52D68 #A4A52D #2DA56A
split-complementary
#2E2DA5 #A56A2D #68A52D
monochromatic
#131345 #212075 #2E2DA5 #4543CC #7473D9

Accessibility & contrast

On white

10.32
#2E2DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2DA5
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2DA5#FFFFFF#000000##FFFFFF
##2E2DA51.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e2da5;
/* rgb */ color: rgb(46, 45, 165);
/* oklch */ color: oklch(39.0% 0.185 274.0);
Tailwind
colors: {
  custom: {
    50: '#7967c1',
    500: '#2e2da5',
    950: '#000000',
  },
}
SCSS
$custom: #2e2da5;
$custom-light: #7967c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2da5",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 240.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38968,
    "c": 0.18533,
    "h": 274
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#2E2DA5
secondary
#C0C16D
accent
#E047DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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