#2E2D93#2E2D93

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

Color values

HEX#2E2D93
RGBrgb(46, 45, 147)
HSLhsl(241, 53%, 38%)
HSVhsv(241, 69%, 58%)
CMYKcmyk(68.7%, 69.4%, 0%, 42.4%)
CIE-LABlab(25.45, 34.15, -55.85)
CIE-LCHlch(25.45, 65.46, 301.44°)
OKLaboklab(37.16% 0.0156 -0.1613)
OKLCHoklch(37.16% 0.162 275.5)
XYZxyz(7.3298, 4.5635, 28.0927)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D93 #92932D
analogous
#2D5F93 #2E2D93 #612D93
triadic
#2E2D93 #932E2D #2D932E
tetradic
#2E2D93 #932D5F #92932D #2D9361
square
#2E2D93 #932D5F #92932D #2D9361
split-complementary
#2E2D93 #93612D #5F932D
monochromatic
#111035 #1F1F64 #2E2D93 #3D3BC2 #6A69D1

Accessibility & contrast

On white

10.98
#2E2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2D93
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D93#FFFFFF#000000##FFFFFF
##2E2D931.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e2d93;
/* rgb */ color: rgb(46, 45, 147);
/* oklch */ color: oklch(37.2% 0.162 275.5);
Tailwind
colors: {
  custom: {
    50: '#7566b4',
    500: '#2e2d93',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d93;
$custom-light: #7566b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d93",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 240.588,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37161,
    "c": 0.16203,
    "h": 275.5
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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