#2E2D86#2E2D86

#2E2D86 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.144 H 276.8°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2E2D86
RGBrgb(46, 45, 134)
HSLhsl(241, 50%, 35%)
HSVhsv(241, 66%, 53%)
CMYKcmyk(65.7%, 66.4%, 0%, 47.5%)
CIE-LABlab(24.25, 29.56, -49.75)
CIE-LCHlch(24.25, 57.87, 300.72°)
OKLaboklab(35.92% 0.017 -0.1434)
OKLCHoklch(35.92% 0.144 276.8)
XYZxyz(6.3668, 4.1783, 23.0206)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D86 #85862D
analogous
#2D5986 #2E2D86 #5A2D86
triadic
#2E2D86 #862E2D #2D862E
tetradic
#2E2D86 #862D59 #85862D #2D865A
square
#2E2D86 #862D59 #85862D #2D865A
split-complementary
#2E2D86 #865A2D #59862D
monochromatic
#0F0E2A #1E1E58 #2E2D86 #3E3CB4 #6463CB

Accessibility & contrast

On white

11.44
#2E2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D86
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D86#FFFFFF#000000##FFFFFF
##2E2D861.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2d86;
/* rgb */ color: rgb(46, 45, 134);
/* oklch */ color: oklch(35.9% 0.144 276.8);
Tailwind
colors: {
  custom: {
    50: '#7266aa',
    500: '#2e2d86',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d86;
$custom-light: #7266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d86",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 240.674,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35921,
    "c": 0.1444,
    "h": 276.8
  },
  "luminance": 0.04179
}

Semantic roles & 50–950 ramp

primary
#2E2D86
secondary
#B0B15E
accent
#D94FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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