#2E2193#2E2193

#2E2193 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.175 H 277.7°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#2E2193
RGBrgb(46, 33, 147)
HSLhsl(247, 63%, 35%)
HSVhsv(247, 78%, 58%)
CMYKcmyk(68.7%, 77.6%, 0%, 42.4%)
CIE-LABlab(22.91, 41.21, -60.04)
CIE-LCHlch(22.91, 72.82, 304.47°)
OKLaboklab(35.35% 0.0234 -0.1734)
OKLCHoklch(35.35% 0.175 277.7)
XYZxyz(6.9353, 3.7745, 27.9612)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2193 #869321
analogous
#214D93 #2E2193 #672193
triadic
#2E2193 #932E21 #21932E
tetradic
#2E2193 #93214D #869321 #219367
square
#2E2193 #93214D #869321 #219367
split-complementary
#2E2193 #936721 #4D9321
monochromatic
#0F0B2F #1E1661 #2E2193 #3E2CC5 #6455D9

Accessibility & contrast

On white

11.97
#2E2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2193
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2193#FFFFFF#000000##FFFFFF
##2E21931.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2193;
/* rgb */ color: rgb(46, 33, 147);
/* oklch */ color: oklch(35.3% 0.175 277.7);
Tailwind
colors: {
  custom: {
    50: '#765fb4',
    500: '#2e2193',
    950: '#000000',
  },
}
SCSS
$custom: #2e2193;
$custom-light: #765fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2193",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 246.842,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35349,
    "c": 0.17501,
    "h": 277.7
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#2E2193
secondary
#B1BD53
accent
#E641D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2193

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

Preview Lab → · Contrast checker → · Palette generator →

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