#2E2093#2E2093

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

Color values

HEX#2E2093
RGBrgb(46, 32, 147)
HSLhsl(247, 64%, 35%)
HSVhsv(247, 78%, 58%)
CMYKcmyk(68.7%, 78.2%, 0%, 42.4%)
CIE-LABlab(22.72, 41.75, -60.35)
CIE-LCHlch(22.72, 73.38, 304.68°)
OKLaboklab(35.22% 0.0239 -0.1743)
OKLCHoklch(35.22% 0.176 277.8)
XYZxyz(6.9080, 3.7199, 27.9521)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2093 #859320
analogous
#204C93 #2E2093 #672093
triadic
#2E2093 #932E20 #20932E
tetradic
#2E2093 #93204C #859320 #209367
square
#2E2093 #93204C #859320 #209367
split-complementary
#2E2093 #936720 #4C9320
monochromatic
#0F0A2E #1E1561 #2E2093 #3E2BC5 #6454DA

Accessibility & contrast

On white

12.04
#2E2093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2E2093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2093
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2093#FFFFFF#000000##FFFFFF
##2E20931.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2093;
/* rgb */ color: rgb(46, 32, 147);
/* oklch */ color: oklch(35.2% 0.176 277.8);
Tailwind
colors: {
  custom: {
    50: '#765eb4',
    500: '#2e2093',
    950: '#000000',
  },
}
SCSS
$custom: #2e2093;
$custom-light: #765eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2093",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 247.304,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35216,
    "c": 0.17597,
    "h": 277.8
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#2E2093
secondary
#B0BD52
accent
#E741D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E2093

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

Preview Lab → · Contrast checker → · Palette generator →

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