#2E2D89#2E2D89

#2E2D89 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.149 H 276.5°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#2E2D89
RGBrgb(46, 45, 137)
HSLhsl(241, 51%, 36%)
HSVhsv(241, 67%, 54%)
CMYKcmyk(66.4%, 67.2%, 0%, 46.3%)
CIE-LABlab(24.52, 30.63, -51.18)
CIE-LCHlch(24.52, 59.64, 300.90°)
OKLaboklab(36.2% 0.0168 -0.1476)
OKLCHoklch(36.2% 0.149 276.5)
XYZxyz(6.5790, 4.2632, 24.1382)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D89 #88892D
analogous
#2D5A89 #2E2D89 #5C2D89
triadic
#2E2D89 #892E2D #2D892E
tetradic
#2E2D89 #892D5A #88892D #2D895C
square
#2E2D89 #892D5A #88892D #2D895C
split-complementary
#2E2D89 #895C2D #5A892D
monochromatic
#0F0F2D #1F1E5B #2E2D89 #3D3CB7 #6564CC

Accessibility & contrast

On white

11.33
#2E2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E2D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D89
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D89#FFFFFF#000000##FFFFFF
##2E2D891.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2d89;
/* rgb */ color: rgb(46, 45, 137);
/* oklch */ color: oklch(36.2% 0.149 276.5);
Tailwind
colors: {
  custom: {
    50: '#7366ac',
    500: '#2e2d89',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d89;
$custom-light: #7366ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d89",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 240.652,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36202,
    "c": 0.14854,
    "h": 276.5
  },
  "luminance": 0.04264
}

Semantic roles & 50–950 ramp

primary
#2E2D89
secondary
#B2B35F
accent
#DA4ED9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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