#2E2D87#2E2D87

#2E2D87 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.146 H 276.7°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2E2D87
RGBrgb(46, 45, 135)
HSLhsl(241, 50%, 35%)
HSVhsv(241, 67%, 53%)
CMYKcmyk(65.9%, 66.7%, 0%, 47.1%)
CIE-LABlab(24.34, 29.92, -50.22)
CIE-LCHlch(24.34, 58.46, 300.78°)
OKLaboklab(36.01% 0.017 -0.1448)
OKLCHoklch(36.01% 0.146 276.7)
XYZxyz(6.4369, 4.2064, 23.3897)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D87 #86872D
analogous
#2D5987 #2E2D87 #5B2D87
triadic
#2E2D87 #872E2D #2D872E
tetradic
#2E2D87 #872D59 #86872D #2D875B
square
#2E2D87 #872D59 #86872D #2D875B
split-complementary
#2E2D87 #875B2D #59872D
monochromatic
#0F0E2B #1E1E59 #2E2D87 #3E3CB5 #6463CB

Accessibility & contrast

On white

11.40
#2E2D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E2D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D87
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D87#FFFFFF#000000##FFFFFF
##2E2D871.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2d87;
/* rgb */ color: rgb(46, 45, 135);
/* oklch */ color: oklch(36.0% 0.146 276.7);
Tailwind
colors: {
  custom: {
    50: '#7266ab',
    500: '#2e2d87',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d87;
$custom-light: #7266ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d87",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 240.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36014,
    "c": 0.14579,
    "h": 276.7
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#2E2D87
secondary
#B1B25E
accent
#DA4ED8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2D87

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

Preview Lab → · Contrast checker → · Palette generator →

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