#2E2886#2E2886

#2E2886 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.151 H 278.1°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2E2886
RGBrgb(46, 40, 134)
HSLhsl(244, 54%, 34%)
HSVhsv(244, 70%, 53%)
CMYKcmyk(65.7%, 70.1%, 0%, 47.5%)
CIE-LABlab(23.06, 32.75, -51.69)
CIE-LCHlch(23.06, 61.19, 302.36°)
OKLaboklab(35.06% 0.0212 -0.1491)
OKLCHoklch(35.06% 0.151 278.1)
XYZxyz(6.1872, 3.8192, 22.9608)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2886 #808628
analogous
#285186 #2E2886 #5D2886
triadic
#2E2886 #862E28 #28862E
tetradic
#2E2886 #862851 #808628 #28865D
square
#2E2886 #862851 #808628 #28865D
split-complementary
#2E2886 #865D28 #518628
monochromatic
#0E0C28 #1E1A57 #2E2886 #3E36B5 #625BCE

Accessibility & contrast

On white

11.90
#2E2886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E2886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2886
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2886#FFFFFF#000000##FFFFFF
##2E28861.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2886;
/* rgb */ color: rgb(46, 40, 134);
/* oklch */ color: oklch(35.1% 0.151 278.1);
Tailwind
colors: {
  custom: {
    50: '#7263aa',
    500: '#2e2886',
    950: '#000000',
  },
}
SCSS
$custom: #2e2886;
$custom-light: #7263aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2886",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 243.83,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3506,
    "c": 0.15061,
    "h": 278.1
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#2E2886
secondary
#ADB357
accent
#DD4AD4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2886

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

Preview Lab → · Contrast checker → · Palette generator →

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