#2E2D95#2E2D95

#2E2D95 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.165 H 275.3°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2E2D95
RGBrgb(46, 45, 149)
HSLhsl(241, 54%, 38%)
HSVhsv(241, 70%, 58%)
CMYKcmyk(69.1%, 69.8%, 0%, 41.6%)
CIE-LABlab(25.64, 34.84, -56.77)
CIE-LCHlch(25.64, 66.61, 301.54°)
OKLaboklab(37.36% 0.0153 -0.164)
OKLCHoklch(37.36% 0.165 275.3)
XYZxyz(7.4881, 4.6269, 28.9264)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D95 #94952D
analogous
#2D6095 #2E2D95 #622D95
triadic
#2E2D95 #952E2D #2D952E
tetradic
#2E2D95 #952D60 #94952D #2D9562
square
#2E2D95 #952D60 #94952D #2D9562
split-complementary
#2E2D95 #95622D #60952D
monochromatic
#111137 #1F1F66 #2E2D95 #3D3BC4 #6B6AD2

Accessibility & contrast

On white

10.91
#2E2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E2D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D95
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D95#FFFFFF#000000##FFFFFF
##2E2D951.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2d95;
/* rgb */ color: rgb(46, 45, 149);
/* oklch */ color: oklch(37.4% 0.165 275.3);
Tailwind
colors: {
  custom: {
    50: '#7567b5',
    500: '#2e2d95',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d95;
$custom-light: #7567b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d95",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 240.577,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37357,
    "c": 0.16468,
    "h": 275.3
  },
  "luminance": 0.04628
}

Semantic roles & 50–950 ramp

primary
#2E2D95
secondary
#B8B965
accent
#DD4BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2E2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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