#2E2C9D#2E2C9D

#2E2C9D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.176 H 274.8°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2E2C9D
RGBrgb(46, 44, 157)
HSLhsl(241, 56%, 39%)
HSVhsv(241, 72%, 62%)
CMYKcmyk(70.7%, 72%, 0%, 38.4%)
CIE-LABlab(26.20, 38.22, -60.75)
CIE-LCHlch(26.20, 71.77, 302.18°)
OKLaboklab(38% 0.0148 -0.1756)
OKLCHoklch(38% 0.176 274.8)
XYZxyz(8.1112, 4.8158, 32.3938)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C9D #9B9D2C
analogous
#2C639D #2E2C9D #672C9D
triadic
#2E2C9D #9D2E2C #2C9D2E
tetradic
#2E2C9D #9D2C63 #9B9D2C #2C9D67
square
#2E2C9D #9D2C63 #9B9D2C #2C9D67
split-complementary
#2E2C9D #9D672C #639D2C
monochromatic
#12113D #201F6D #2E2C9D #403DC9 #6F6DD6

Accessibility & contrast

On white

10.70
#2E2C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E2C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C9D
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C9D#FFFFFF#000000##FFFFFF
##2E2C9D1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e2c9d;
/* rgb */ color: rgb(46, 44, 157);
/* oklch */ color: oklch(38.0% 0.176 274.8);
Tailwind
colors: {
  custom: {
    50: '#7766bb',
    500: '#2e2c9d',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c9d;
$custom-light: #7766bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c9d",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 241.062,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37996,
    "c": 0.17622,
    "h": 274.8
  },
  "luminance": 0.04817
}

Semantic roles & 50–950 ramp

primary
#2E2C9D
secondary
#BCBD68
accent
#E048DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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