#2E2C7D#2E2C7D

#2E2C7D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.133 H 278.1°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#2E2C7D
RGBrgb(46, 44, 125)
HSLhsl(241, 48%, 33%)
HSVhsv(241, 65%, 49%)
CMYKcmyk(63.2%, 64.8%, 0%, 51%)
CIE-LABlab(23.21, 27.02, -45.78)
CIE-LCHlch(23.21, 53.16, 300.54°)
OKLaboklab(34.91% 0.0187 -0.1318)
OKLCHoklch(34.91% 0.133 278.1)
XYZxyz(5.7279, 3.8624, 19.8417)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C7D #7B7D2C
analogous
#2C537D #2E2C7D #562C7D
triadic
#2E2C7D #7D2E2C #2C7D2E
tetradic
#2E2C7D #7D2C53 #7B7D2C #2C7D56
square
#2E2C7D #7D2C53 #7B7D2C #2C7D56
split-complementary
#2E2C7D #7D562C #537D2C
monochromatic
#0D0C22 #1D1C50 #2E2C7D #3F3CAA #605DC6

Accessibility & contrast

On white

11.85
#2E2C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E2C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C7D
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C7D#FFFFFF#000000##FFFFFF
##2E2C7D1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2c7d;
/* rgb */ color: rgb(46, 44, 125);
/* oklch */ color: oklch(34.9% 0.133 278.1);
Tailwind
colors: {
  custom: {
    50: '#7065a3',
    500: '#2e2c7d',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c7d;
$custom-light: #7065a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c7d",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 241.481,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34914,
    "c": 0.13309,
    "h": 278.1
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#2E2C7D
secondary
#AAAC59
accent
#D850D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2E2C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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