#2E2D83#2E2D83

#2E2D83 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.140 H 277.1°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#2E2D83
RGBrgb(46, 45, 131)
HSLhsl(241, 49%, 35%)
HSVhsv(241, 66%, 51%)
CMYKcmyk(64.9%, 65.6%, 0%, 48.6%)
CIE-LABlab(23.99, 28.49, -48.30)
CIE-LCHlch(23.99, 56.08, 300.54°)
OKLaboklab(35.64% 0.0173 -0.1391)
OKLCHoklch(35.64% 0.14 277.1)
XYZxyz(6.1605, 4.0958, 21.9343)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D83 #82832D
analogous
#2D5783 #2E2D83 #592D83
triadic
#2E2D83 #832E2D #2D832E
tetradic
#2E2D83 #832D57 #82832D #2D8359
square
#2E2D83 #832D57 #82832D #2D8359
split-complementary
#2E2D83 #83592D #57832D
monochromatic
#0E0E28 #1E1D55 #2E2D83 #3E3DB1 #6362C9

Accessibility & contrast

On white

11.54
#2E2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2D83
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D83#FFFFFF#000000##FFFFFF
##2E2D831.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2d83;
/* rgb */ color: rgb(46, 45, 131);
/* oklch */ color: oklch(35.6% 0.140 277.1);
Tailwind
colors: {
  custom: {
    50: '#7166a8',
    500: '#2e2d83',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d83;
$custom-light: #7166a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d83",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 240.698,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35643,
    "c": 0.14022,
    "h": 277.1
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#2E2D83
secondary
#AEAF5C
accent
#D84FD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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