#2E2196#2E2196

#2E2196 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.179 H 277.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#2E2196
RGBrgb(46, 33, 150)
HSLhsl(247, 64%, 36%)
HSVhsv(247, 78%, 59%)
CMYKcmyk(69.3%, 78%, 0%, 41.2%)
CIE-LABlab(23.24, 42.18, -61.35)
CIE-LCHlch(23.24, 74.45, 304.51°)
OKLaboklab(35.67% 0.0226 -0.1773)
OKLCHoklch(35.67% 0.179 277.3)
XYZxyz(7.1738, 3.8699, 29.2172)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2196 #899621
analogous
#214E96 #2E2196 #682196
triadic
#2E2196 #962E21 #21962E
tetradic
#2E2196 #96214E #899621 #219668
square
#2E2196 #96214E #899621 #219668
split-complementary
#2E2196 #966821 #4E9621
monochromatic
#0F0B32 #1F1664 #2E2196 #3D2CC8 #6657DA

Accessibility & contrast

On white

11.84
#2E2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2196
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2196#FFFFFF#000000##FFFFFF
##2E21961.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2196;
/* rgb */ color: rgb(46, 33, 150);
/* oklch */ color: oklch(35.7% 0.179 277.3);
Tailwind
colors: {
  custom: {
    50: '#775fb6',
    500: '#2e2196',
    950: '#000000',
  },
}
SCSS
$custom: #2e2196;
$custom-light: #775fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2196",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 246.667,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35674,
    "c": 0.17871,
    "h": 277.3
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#2E2196
secondary
#B2BE55
accent
#E741D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2196

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

Preview Lab → · Contrast checker → · Palette generator →

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