#2E2D9F#2E2D9F

#2E2D9F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.178 H 274.5°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2E2D9F
RGBrgb(46, 45, 159)
HSLhsl(241, 56%, 40%)
HSVhsv(241, 72%, 62%)
CMYKcmyk(71.1%, 71.7%, 0%, 37.6%)
CIE-LABlab(26.62, 38.31, -61.28)
CIE-LCHlch(26.62, 72.27, 302.01°)
OKLaboklab(38.35% 0.0138 -0.1771)
OKLCHoklch(38.35% 0.178 274.5)
XYZxyz(8.3210, 4.9600, 33.3130)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D9F #9E9F2D
analogous
#2D659F #2E2D9F #672D9F
triadic
#2E2D9F #9F2E2D #2D9F2E
tetradic
#2E2D9F #9F2D65 #9E9F2D #2D9F67
square
#2E2D9F #9F2D65 #9E9F2D #2D9F67
split-complementary
#2E2D9F #9F672D #659F2D
monochromatic
#121240 #20206F #2E2D9F #4140C9 #7170D6

Accessibility & contrast

On white

10.54
#2E2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E2D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D9F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D9F#FFFFFF#000000##FFFFFF
##2E2D9F1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e2d9f;
/* rgb */ color: rgb(46, 45, 159);
/* oklch */ color: oklch(38.4% 0.178 274.5);
Tailwind
colors: {
  custom: {
    50: '#7867bc',
    500: '#2e2d9f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d9f;
$custom-light: #7867bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d9f",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 240.526,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.38355,
    "c": 0.17769,
    "h": 274.5
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

primary
#2E2D9F
secondary
#BDBE6A
accent
#DF49DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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