#2E2BA7#2E2BA7

#2E2BA7 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.190 H 274.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2E2BA7
RGBrgb(46, 43, 167)
HSLhsl(241, 59%, 41%)
HSVhsv(241, 74%, 65%)
CMYKcmyk(72.5%, 74.3%, 0%, 34.5%)
CIE-LABlab(27.01, 42.19, -65.49)
CIE-LCHlch(27.01, 77.90, 302.79°)
OKLaboklab(38.88% 0.0136 -0.1894)
OKLCHoklch(38.88% 0.19 274.1)
XYZxyz(8.9633, 5.0977, 37.0633)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2BA7 #A4A72B
analogous
#2B66A7 #2E2BA7 #6C2BA7
triadic
#2E2BA7 #A72E2B #2BA72E
tetradic
#2E2BA7 #A72B66 #A4A72B #2BA76C
square
#2E2BA7 #A72B66 #A4A72B #2BA76C
split-complementary
#2E2BA7 #A76C2B #66A72B
monochromatic
#131246 #211E76 #2E2BA7 #4541CE #7472DB

Accessibility & contrast

On white

10.40
#2E2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E2BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2BA7
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2BA7#FFFFFF#000000##FFFFFF
##2E2BA71.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e2ba7;
/* rgb */ color: rgb(46, 43, 167);
/* oklch */ color: oklch(38.9% 0.190 274.1);
Tailwind
colors: {
  custom: {
    50: '#7a66c2',
    500: '#2e2ba7',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ba7;
$custom-light: #7a66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ba7",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 241.452,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38879,
    "c": 0.1899,
    "h": 274.1
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#2E2BA7
secondary
#C0C26C
accent
#E246DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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