#2E2CA7#2E2CA7

#2E2CA7 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.189 H 274.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2E2CA7
RGBrgb(46, 44, 167)
HSLhsl(241, 58%, 41%)
HSVhsv(241, 74%, 65%)
CMYKcmyk(72.5%, 73.7%, 0%, 34.5%)
CIE-LABlab(27.22, 41.62, -65.15)
CIE-LCHlch(27.22, 77.31, 302.57°)
OKLaboklab(39.03% 0.0131 -0.1884)
OKLCHoklch(39.03% 0.189 274)
XYZxyz(9.0001, 5.1713, 37.0756)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2CA7 #A5A72C
analogous
#2C68A7 #2E2CA7 #6C2CA7
triadic
#2E2CA7 #A72E2C #2CA72E
tetradic
#2E2CA7 #A72C68 #A5A72C #2CA76C
square
#2E2CA7 #A72C68 #A5A72C #2CA76C
split-complementary
#2E2CA7 #A76C2C #68A72C
monochromatic
#131246 #211F77 #2E2CA7 #4543CD #7573DA

Accessibility & contrast

On white

10.32
#2E2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E2CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2CA7
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2CA7#FFFFFF#000000##FFFFFF
##2E2CA71.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e2ca7;
/* rgb */ color: rgb(46, 44, 167);
/* oklch */ color: oklch(39.0% 0.189 274.0);
Tailwind
colors: {
  custom: {
    50: '#7a67c2',
    500: '#2e2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ca7;
$custom-light: #7a67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ca7",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 240.976,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39025,
    "c": 0.18887,
    "h": 274
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#2E2CA7
secondary
#C0C26D
accent
#E246DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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