#2E2294#2E2294

#2E2294 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.175 H 277.4°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#2E2294
RGBrgb(46, 34, 148)
HSLhsl(246, 63%, 36%)
HSVhsv(246, 77%, 58%)
CMYKcmyk(68.9%, 77%, 0%, 42%)
CIE-LABlab(23.21, 40.99, -60.16)
CIE-LCHlch(23.21, 72.80, 304.27°)
OKLaboklab(35.59% 0.0226 -0.1738)
OKLCHoklch(35.59% 0.175 277.4)
XYZxyz(7.0423, 3.8624, 28.3856)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2294 #889422
analogous
#224F94 #2E2294 #672294
triadic
#2E2294 #942E22 #22942E
tetradic
#2E2294 #94224F #889422 #229467
square
#2E2294 #94224F #889422 #229467
split-complementary
#2E2294 #946722 #4F9422
monochromatic
#0F0B30 #1F1762 #2E2294 #3D2DC6 #6558D9

Accessibility & contrast

On white

11.85
#2E2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2294
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2294#FFFFFF#000000##FFFFFF
##2E22941.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2294;
/* rgb */ color: rgb(46, 34, 148);
/* oklch */ color: oklch(35.6% 0.175 277.4);
Tailwind
colors: {
  custom: {
    50: '#765fb5',
    500: '#2e2294',
    950: '#000000',
  },
}
SCSS
$custom: #2e2294;
$custom-light: #765fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2294",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 246.316,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35592,
    "c": 0.17527,
    "h": 277.4
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#2E2294
secondary
#B2BD55
accent
#E642D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2294

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

Preview Lab → · Contrast checker → · Palette generator →

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