#2E2C8D#2E2C8D

#2E2C8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.155 H 276.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2E2C8D
RGBrgb(46, 44, 141)
HSLhsl(241, 52%, 36%)
HSVhsv(241, 69%, 55%)
CMYKcmyk(67.4%, 68.8%, 0%, 44.7%)
CIE-LABlab(24.65, 32.67, -53.45)
CIE-LCHlch(24.65, 62.65, 301.44°)
OKLaboklab(36.41% 0.0171 -0.1543)
OKLCHoklch(36.41% 0.155 276.3)
XYZxyz(6.8335, 4.3047, 25.6649)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C8D #8B8D2C
analogous
#2C5B8D #2E2C8D #5F2C8D
triadic
#2E2C8D #8D2E2C #2C8D2E
tetradic
#2E2C8D #8D2C5B #8B8D2C #2C8D5F
square
#2E2C8D #8D2C5B #8B8D2C #2C8D5F
split-complementary
#2E2C8D #8D5F2C #5B8D2C
monochromatic
#100F30 #1F1D5E #2E2C8D #3D3BBC #6765CF

Accessibility & contrast

On white

11.28
#2E2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C8D
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C8D#FFFFFF#000000##FFFFFF
##2E2C8D1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2c8d;
/* rgb */ color: rgb(46, 44, 141);
/* oklch */ color: oklch(36.4% 0.155 276.3);
Tailwind
colors: {
  custom: {
    50: '#7466af',
    500: '#2e2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c8d;
$custom-light: #7466af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c8d",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 241.237,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3641,
    "c": 0.1552,
    "h": 276.3
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#2E2C8D
secondary
#B3B560
accent
#DC4CD9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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