#2E2D85#2E2D85

#2E2D85 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.143 H 276.9°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2E2D85
RGBrgb(46, 45, 133)
HSLhsl(241, 49%, 35%)
HSVhsv(241, 66%, 52%)
CMYKcmyk(65.4%, 66.2%, 0%, 47.8%)
CIE-LABlab(24.16, 29.21, -49.27)
CIE-LCHlch(24.16, 57.27, 300.66°)
OKLaboklab(35.83% 0.0171 -0.142)
OKLCHoklch(35.83% 0.143 276.9)
XYZxyz(6.2974, 4.1506, 22.6550)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D85 #84852D
analogous
#2D5885 #2E2D85 #5A2D85
triadic
#2E2D85 #852E2D #2D852E
tetradic
#2E2D85 #852D58 #84852D #2D855A
square
#2E2D85 #852D58 #84852D #2D855A
split-complementary
#2E2D85 #855A2D #58852D
monochromatic
#0E0E2A #1E1E57 #2E2D85 #3E3CB3 #6462CA

Accessibility & contrast

On white

11.47
#2E2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2E2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D85
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D85#FFFFFF#000000##FFFFFF
##2E2D851.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2d85;
/* rgb */ color: rgb(46, 45, 133);
/* oklch */ color: oklch(35.8% 0.143 276.9);
Tailwind
colors: {
  custom: {
    50: '#7266a9',
    500: '#2e2d85',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d85;
$custom-light: #7266a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d85",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 240.682,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35828,
    "c": 0.14302,
    "h": 276.9
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#2E2D85
secondary
#B0B05D
accent
#D94FD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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