#2E2D94#2E2D94

#2E2D94 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.163 H 275.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2E2D94
RGBrgb(46, 45, 148)
HSLhsl(241, 53%, 38%)
HSVhsv(241, 70%, 58%)
CMYKcmyk(68.9%, 69.6%, 0%, 42%)
CIE-LABlab(25.55, 34.50, -56.31)
CIE-LCHlch(25.55, 66.04, 301.49°)
OKLaboklab(37.26% 0.0155 -0.1626)
OKLCHoklch(37.26% 0.163 275.4)
XYZxyz(7.4086, 4.5951, 28.5077)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D94 #93942D
analogous
#2D5F94 #2E2D94 #622D94
triadic
#2E2D94 #942E2D #2D942E
tetradic
#2E2D94 #942D5F #93942D #2D9462
square
#2E2D94 #942D5F #93942D #2D9462
split-complementary
#2E2D94 #94622D #5F942D
monochromatic
#111036 #1F1F65 #2E2D94 #3D3BC3 #6B6AD2

Accessibility & contrast

On white

10.94
#2E2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E2D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D94
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D94#FFFFFF#000000##FFFFFF
##2E2D941.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e2d94;
/* rgb */ color: rgb(46, 45, 148);
/* oklch */ color: oklch(37.3% 0.163 275.4);
Tailwind
colors: {
  custom: {
    50: '#7567b4',
    500: '#2e2d94',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d94;
$custom-light: #7567b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d94",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 240.583,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37259,
    "c": 0.16336,
    "h": 275.4
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

primary
#2E2D94
secondary
#B8B864
accent
#DD4BDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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