#2E2396#2E2396

#2E2396 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.177 H 277.0°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#2E2396
RGBrgb(46, 35, 150)
HSLhsl(246, 62%, 36%)
HSVhsv(246, 77%, 59%)
CMYKcmyk(69.3%, 76.7%, 0%, 41.2%)
CIE-LABlab(23.62, 41.09, -60.72)
CIE-LCHlch(23.62, 73.32, 304.09°)
OKLaboklab(35.94% 0.0215 -0.1754)
OKLCHoklch(35.94% 0.177 277)
XYZxyz(7.2310, 3.9843, 29.2362)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2396 #8B9623
analogous
#235296 #2E2396 #682396
triadic
#2E2396 #962E23 #23962E
tetradic
#2E2396 #962352 #8B9623 #239668
square
#2E2396 #962352 #8B9623 #239668
split-complementary
#2E2396 #966823 #529623
monochromatic
#100C33 #1F1764 #2E2396 #3D2FC8 #675BD9

Accessibility & contrast

On white

11.69
#2E2396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E2396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2396
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2396#FFFFFF#000000##FFFFFF
##2E23961.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2396;
/* rgb */ color: rgb(46, 35, 150);
/* oklch */ color: oklch(35.9% 0.177 277.0);
Tailwind
colors: {
  custom: {
    50: '#7660b6',
    500: '#2e2396',
    950: '#000000',
  },
}
SCSS
$custom: #2e2396;
$custom-light: #7660b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2396",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 245.739,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35943,
    "c": 0.17676,
    "h": 277
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#2E2396
secondary
#B3BD58
accent
#E543D6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2396

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

Preview Lab → · Contrast checker → · Palette generator →

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