#2E2392#2E2392

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

Color values

HEX#2E2392
RGBrgb(46, 35, 146)
HSLhsl(246, 61%, 35%)
HSVhsv(246, 76%, 57%)
CMYKcmyk(68.5%, 76%, 0%, 42.7%)
CIE-LABlab(23.20, 39.78, -58.95)
CIE-LCHlch(23.20, 71.12, 304.01°)
OKLaboklab(35.52% 0.0224 -0.1703)
OKLCHoklch(35.52% 0.172 277.5)
XYZxyz(6.9144, 3.8576, 27.5688)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2392 #879223
analogous
#234F92 #2E2392 #652392
triadic
#2E2392 #922E23 #23922E
tetradic
#2E2392 #92234F #879223 #239265
square
#2E2392 #92234F #879223 #239265
split-complementary
#2E2392 #926523 #4F9223
monochromatic
#0F0B2F #1E1761 #2E2392 #3E2FC3 #6558D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E2392#FFFFFF#000000##FFFFFF
##2E23921.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)
#003C95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2392;
/* rgb */ color: rgb(46, 35, 146);
/* oklch */ color: oklch(35.5% 0.172 277.5);
Tailwind
colors: {
  custom: {
    50: '#7660b3',
    500: '#2e2392',
    950: '#000000',
  },
}
SCSS
$custom: #2e2392;
$custom-light: #7660b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2392",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 245.946,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35517,
    "c": 0.17177,
    "h": 277.5
  },
  "luminance": 0.03858
}

Semantic roles & 50–950 ramp

primary
#2E2392
secondary
#B1BB55
accent
#E443D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2392

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

Preview Lab → · Contrast checker → · Palette generator →

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