#2E2C83#2E2C83

#2E2C83 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.142 H 277.4°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#2E2C83
RGBrgb(46, 44, 131)
HSLhsl(241, 50%, 34%)
HSVhsv(241, 66%, 51%)
CMYKcmyk(64.9%, 66.4%, 0%, 48.6%)
CIE-LABlab(23.74, 29.15, -48.70)
CIE-LCHlch(23.74, 56.76, 300.90°)
OKLaboklab(35.46% 0.0182 -0.1403)
OKLCHoklch(35.46% 0.142 277.4)
XYZxyz(6.1228, 4.0204, 21.9217)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C83 #81832C
analogous
#2C5683 #2E2C83 #5A2C83
triadic
#2E2C83 #832E2C #2C832E
tetradic
#2E2C83 #832C56 #81832C #2C835A
square
#2E2C83 #832C56 #81832C #2C835A
split-complementary
#2E2C83 #835A2C #56832C
monochromatic
#0E0D27 #1E1D55 #2E2C83 #3E3BB1 #6260CA

Accessibility & contrast

On white

11.64
#2E2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C83
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C83#FFFFFF#000000##FFFFFF
##2E2C831.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2c83;
/* rgb */ color: rgb(46, 44, 131);
/* oklch */ color: oklch(35.5% 0.142 277.4);
Tailwind
colors: {
  custom: {
    50: '#7165a8',
    500: '#2e2c83',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c83;
$custom-light: #7165a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c83",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 241.379,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35463,
    "c": 0.14151,
    "h": 277.4
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#2E2C83
secondary
#AEB05B
accent
#D94FD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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