#2E2295#2E2295

#2E2295 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.177 H 277.3°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#2E2295
RGBrgb(46, 34, 149)
HSLhsl(246, 63%, 36%)
HSVhsv(246, 77%, 58%)
CMYKcmyk(69.1%, 77.2%, 0%, 41.6%)
CIE-LABlab(23.32, 41.32, -60.60)
CIE-LCHlch(23.32, 73.34, 304.29°)
OKLaboklab(35.7% 0.0223 -0.1751)
OKLCHoklch(35.7% 0.177 277.3)
XYZxyz(7.1218, 3.8942, 28.8043)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2295 #899522
analogous
#224F95 #2E2295 #672295
triadic
#2E2295 #952E22 #22952E
tetradic
#2E2295 #95224F #899522 #229567
square
#2E2295 #95224F #899522 #229567
split-complementary
#2E2295 #956722 #4F9522
monochromatic
#0F0B31 #1F1763 #2E2295 #3D2DC7 #6658D9

Accessibility & contrast

On white

11.80
#2E2295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E2295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2295
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2295#FFFFFF#000000##FFFFFF
##2E22951.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2295;
/* rgb */ color: rgb(46, 34, 149);
/* oklch */ color: oklch(35.7% 0.177 277.3);
Tailwind
colors: {
  custom: {
    50: '#7660b5',
    500: '#2e2295',
    950: '#000000',
  },
}
SCSS
$custom: #2e2295;
$custom-light: #7660b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2295",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 246.261,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35699,
    "c": 0.17651,
    "h": 277.3
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#2E2295
secondary
#B2BD56
accent
#E642D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2295

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

Preview Lab → · Contrast checker → · Palette generator →

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