#2E2D7E#2E2D7E

#2E2D7E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.133 H 277.6°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#2E2D7E
RGBrgb(46, 45, 126)
HSLhsl(241, 47%, 34%)
HSVhsv(241, 64%, 49%)
CMYKcmyk(63.5%, 64.3%, 0%, 50.6%)
CIE-LABlab(23.55, 26.71, -45.86)
CIE-LCHlch(23.55, 53.07, 300.22°)
OKLaboklab(35.19% 0.0177 -0.132)
OKLCHoklch(35.19% 0.133 277.6)
XYZxyz(5.8298, 3.9635, 20.1924)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D7E #7D7E2D
analogous
#2D547E #2E2D7E #562D7E
triadic
#2E2D7E #7E2E2D #2D7E2E
tetradic
#2E2D7E #7E2D54 #7D7E2D #2D7E56
square
#2E2D7E #7E2D54 #7D7E2D #2D7E56
split-complementary
#2E2D7E #7E562D #547E2D
monochromatic
#0D0D24 #1E1D51 #2E2D7E #3E3DAB #615FC6

Accessibility & contrast

On white

11.71
#2E2D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E2D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D7E
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D7E#FFFFFF#000000##FFFFFF
##2E2D7E1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2d7e;
/* rgb */ color: rgb(46, 45, 126);
/* oklch */ color: oklch(35.2% 0.133 277.6);
Tailwind
colors: {
  custom: {
    50: '#7066a4',
    500: '#2e2d7e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d7e;
$custom-light: #7066a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d7e",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 240.741,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35189,
    "c": 0.13317,
    "h": 277.6
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

primary
#2E2D7E
secondary
#ABAC5A
accent
#D751D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E2D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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