#2E2D84#2E2D84

#2E2D84 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.142 H 277.0°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2E2D84
RGBrgb(46, 45, 132)
HSLhsl(241, 49%, 35%)
HSVhsv(241, 66%, 52%)
CMYKcmyk(65.2%, 65.9%, 0%, 48.2%)
CIE-LABlab(24.07, 28.85, -48.78)
CIE-LCHlch(24.07, 56.68, 300.60°)
OKLaboklab(35.74% 0.0172 -0.1406)
OKLCHoklch(35.74% 0.142 277)
XYZxyz(6.2286, 4.1231, 22.2929)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D84 #83842D
analogous
#2D5784 #2E2D84 #5A2D84
triadic
#2E2D84 #842E2D #2D842E
tetradic
#2E2D84 #842D57 #83842D #2D845A
square
#2E2D84 #842D57 #83842D #2D845A
split-complementary
#2E2D84 #845A2D #57842D
monochromatic
#0E0E29 #1E1D56 #2E2D84 #3E3DB2 #6362C9

Accessibility & contrast

On white

11.51
#2E2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2E2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D84
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D84#FFFFFF#000000##FFFFFF
##2E2D841.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2d84;
/* rgb */ color: rgb(46, 45, 132);
/* oklch */ color: oklch(35.7% 0.142 277.0);
Tailwind
colors: {
  custom: {
    50: '#7266a9',
    500: '#2e2d84',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d84;
$custom-light: #7266a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d84",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 240.69,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35735,
    "c": 0.14162,
    "h": 277
  },
  "luminance": 0.04124
}

Semantic roles & 50–950 ramp

primary
#2E2D84
secondary
#AFB05D
accent
#D94FD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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