#2E2C95#2E2C95

#2E2C95 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.166 H 275.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2E2C95
RGBrgb(46, 44, 149)
HSLhsl(241, 54%, 38%)
HSVhsv(241, 70%, 58%)
CMYKcmyk(69.1%, 70.5%, 0%, 41.6%)
CIE-LABlab(25.42, 35.46, -57.14)
CIE-LCHlch(25.42, 67.25, 301.82°)
OKLaboklab(37.19% 0.016 -0.1651)
OKLCHoklch(37.19% 0.166 275.5)
XYZxyz(7.4504, 4.5515, 28.9138)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C95 #93952C
analogous
#2C5E95 #2E2C95 #622C95
triadic
#2E2C95 #952E2C #2C952E
tetradic
#2E2C95 #952C5E #93952C #2C9562
square
#2E2C95 #952C5E #93952C #2C9562
split-complementary
#2E2C95 #95622C #5E952C
monochromatic
#111037 #1F1E66 #2E2C95 #3D3AC4 #6B69D3

Accessibility & contrast

On white

10.99
#2E2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E2C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C95
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C95#FFFFFF#000000##FFFFFF
##2E2C951.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e2c95;
/* rgb */ color: rgb(46, 44, 149);
/* oklch */ color: oklch(37.2% 0.166 275.5);
Tailwind
colors: {
  custom: {
    50: '#7566b5',
    500: '#2e2c95',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c95;
$custom-light: #7566b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c95",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 241.143,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37193,
    "c": 0.16583,
    "h": 275.5
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#2E2C95
secondary
#B8B964
accent
#DE4ADB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2E2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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