#2E2194#2E2194

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

Color values

HEX#2E2194
RGBrgb(46, 33, 148)
HSLhsl(247, 64%, 35%)
HSVhsv(247, 78%, 58%)
CMYKcmyk(68.9%, 77.7%, 0%, 42%)
CIE-LABlab(23.02, 41.54, -60.47)
CIE-LCHlch(23.02, 73.36, 304.48°)
OKLaboklab(35.46% 0.0231 -0.1747)
OKLCHoklch(35.46% 0.176 277.5)
XYZxyz(7.0141, 3.8061, 28.3762)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2194 #879421
analogous
#214D94 #2E2194 #682194
triadic
#2E2194 #942E21 #21942E
tetradic
#2E2194 #94214D #879421 #219468
square
#2E2194 #94214D #879421 #219468
split-complementary
#2E2194 #946821 #4D9421
monochromatic
#0F0B30 #1E1662 #2E2194 #3E2CC6 #6556D9

Accessibility & contrast

On white

11.92
#2E2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2194
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2194#FFFFFF#000000##FFFFFF
##2E21941.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2194;
/* rgb */ color: rgb(46, 33, 148);
/* oklch */ color: oklch(35.5% 0.176 277.5);
Tailwind
colors: {
  custom: {
    50: '#765fb5',
    500: '#2e2194',
    950: '#000000',
  },
}
SCSS
$custom: #2e2194;
$custom-light: #765fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2194",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 246.783,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35457,
    "c": 0.17624,
    "h": 277.5
  },
  "luminance": 0.03807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2194

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

Preview Lab → · Contrast checker → · Palette generator →

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