#2E2096#2E2096

#2E2096 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.180 H 277.4°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#2E2096
RGBrgb(46, 32, 150)
HSLhsl(247, 65%, 36%)
HSVhsv(247, 79%, 59%)
CMYKcmyk(69.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(23.05, 42.71, -61.66)
CIE-LCHlch(23.05, 75.01, 304.71°)
OKLaboklab(35.54% 0.0232 -0.1782)
OKLCHoklch(35.54% 0.18 277.4)
XYZxyz(7.1465, 3.8152, 29.2081)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2096 #889620
analogous
#204D96 #2E2096 #692096
triadic
#2E2096 #962E20 #20962E
tetradic
#2E2096 #96204D #889620 #209669
square
#2E2096 #96204D #889620 #209669
split-complementary
#2E2096 #966920 #4D9620
monochromatic
#0F0A31 #1F1564 #2E2096 #3D2BC8 #6556DB

Accessibility & contrast

On white

11.91
#2E2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2096
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2096#FFFFFF#000000##FFFFFF
##2E20961.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2096;
/* rgb */ color: rgb(46, 32, 150);
/* oklch */ color: oklch(35.5% 0.180 277.4);
Tailwind
colors: {
  custom: {
    50: '#775eb6',
    500: '#2e2096',
    950: '#000000',
  },
}
SCSS
$custom: #2e2096;
$custom-light: #775eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2096",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 247.119,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35544,
    "c": 0.17966,
    "h": 277.4
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#2E2096
secondary
#B2BE53
accent
#E840D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2096

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

Preview Lab → · Contrast checker → · Palette generator →

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