#2E2393#2E2393

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

Color values

HEX#2E2393
RGBrgb(46, 35, 147)
HSLhsl(246, 62%, 36%)
HSVhsv(246, 76%, 58%)
CMYKcmyk(68.7%, 76.2%, 0%, 42.4%)
CIE-LABlab(23.30, 40.11, -59.39)
CIE-LCHlch(23.30, 71.67, 304.03°)
OKLaboklab(35.62% 0.0222 -0.1716)
OKLCHoklch(35.62% 0.173 277.4)
XYZxyz(6.9925, 3.8889, 27.9802)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2393 #889323
analogous
#235093 #2E2393 #662393
triadic
#2E2393 #932E23 #23932E
tetradic
#2E2393 #932350 #889323 #239366
square
#2E2393 #932350 #889323 #239366
split-complementary
#2E2393 #936623 #509323
monochromatic
#0F0B30 #1F1762 #2E2393 #3D2FC4 #6559D7

Accessibility & contrast

On white

11.81
#2E2393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2393
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2393#FFFFFF#000000##FFFFFF
##2E23931.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2393;
/* rgb */ color: rgb(46, 35, 147);
/* oklch */ color: oklch(35.6% 0.173 277.4);
Tailwind
colors: {
  custom: {
    50: '#7660b4',
    500: '#2e2393',
    950: '#000000',
  },
}
SCSS
$custom: #2e2393;
$custom-light: #7660b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2393",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 245.893,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35623,
    "c": 0.17302,
    "h": 277.4
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#2E2393
secondary
#B2BC56
accent
#E543D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2393

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

Preview Lab → · Contrast checker → · Palette generator →

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