#2E2192#2E2192

#2E2192 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.174 H 277.8°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#2E2192
RGBrgb(46, 33, 146)
HSLhsl(247, 63%, 35%)
HSVhsv(247, 77%, 57%)
CMYKcmyk(68.5%, 77.4%, 0%, 42.7%)
CIE-LABlab(22.80, 40.89, -59.59)
CIE-LCHlch(22.80, 72.27, 304.46°)
OKLaboklab(35.24% 0.0236 -0.1722)
OKLCHoklch(35.24% 0.174 277.8)
XYZxyz(6.8572, 3.7433, 27.5497)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2192 #859221
analogous
#214C92 #2E2192 #672192
triadic
#2E2192 #922E21 #21922E
tetradic
#2E2192 #92214C #859221 #219267
square
#2E2192 #92214C #859221 #219267
split-complementary
#2E2192 #926721 #4C9221
monochromatic
#0F0A2E #1E1660 #2E2192 #3E2CC4 #6455D9

Accessibility & contrast

On white

12.01
#2E2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2E2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2192
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2192#FFFFFF#000000##FFFFFF
##2E21921.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2192;
/* rgb */ color: rgb(46, 33, 146);
/* oklch */ color: oklch(35.2% 0.174 277.8);
Tailwind
colors: {
  custom: {
    50: '#765fb3',
    500: '#2e2192',
    950: '#000000',
  },
}
SCSS
$custom: #2e2192;
$custom-light: #765fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2192",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 246.903,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35241,
    "c": 0.17377,
    "h": 277.8
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#2E2192
secondary
#B0BC53
accent
#E642D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2192

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

Preview Lab → · Contrast checker → · Palette generator →

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