#2E2995#2E2995

#2E2995 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.169 H 276.1°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2E2995
RGBrgb(46, 41, 149)
HSLhsl(243, 57%, 37%)
HSVhsv(243, 72%, 58%)
CMYKcmyk(69.1%, 72.5%, 0%, 41.6%)
CIE-LABlab(24.75, 37.29, -58.24)
CIE-LCHlch(24.75, 69.15, 302.63°)
OKLaboklab(36.72% 0.018 -0.1682)
OKLCHoklch(36.72% 0.169 276.1)
XYZxyz(7.3427, 4.3360, 28.8779)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2995 #909529
analogous
#295A95 #2E2995 #642995
triadic
#2E2995 #952E29 #29952E
tetradic
#2E2995 #95295A #909529 #299564
square
#2E2995 #95295A #909529 #299564
split-complementary
#2E2995 #956429 #5A9529
monochromatic
#100F35 #1F1C65 #2E2995 #3D36C5 #6964D4

Accessibility & contrast

On white

11.25
#2E2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2995
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2995#FFFFFF#000000##FFFFFF
##2E29951.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2995;
/* rgb */ color: rgb(46, 41, 149);
/* oklch */ color: oklch(36.7% 0.169 276.1);
Tailwind
colors: {
  custom: {
    50: '#7664b5',
    500: '#2e2995',
    950: '#000000',
  },
}
SCSS
$custom: #2e2995;
$custom-light: #7664b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2995",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 242.778,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36717,
    "c": 0.16921,
    "h": 276.1
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#2E2995
secondary
#B6BA60
accent
#E048D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2E2995

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

Preview Lab → · Contrast checker → · Palette generator →

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