#2E2D7C#2E2D7C

#2E2D7C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.130 H 277.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2E2D7C
RGBrgb(46, 45, 124)
HSLhsl(241, 47%, 33%)
HSVhsv(241, 64%, 49%)
CMYKcmyk(62.9%, 63.7%, 0%, 51.4%)
CIE-LABlab(23.38, 25.99, -44.88)
CIE-LCHlch(23.38, 51.86, 300.08°)
OKLaboklab(35.01% 0.0178 -0.1291)
OKLCHoklch(35.01% 0.13 277.8)
XYZxyz(5.7020, 3.9124, 19.5196)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D7C #7B7C2D
analogous
#2D537C #2E2D7C #552D7C
triadic
#2E2D7C #7C2E2D #2D7C2E
tetradic
#2E2D7C #7C2D53 #7B7C2D #2D7C55
square
#2E2D7C #7C2D53 #7B7C2D #2D7C55
split-complementary
#2E2D7C #7C552D #537C2D
monochromatic
#0D0C22 #1D1D4F #2E2D7C #3F3DA9 #605FC5

Accessibility & contrast

On white

11.78
#2E2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E2D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D7C
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D7C#FFFFFF#000000##FFFFFF
##2E2D7C1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2d7c;
/* rgb */ color: rgb(46, 45, 124);
/* oklch */ color: oklch(35.0% 0.130 277.8);
Tailwind
colors: {
  custom: {
    50: '#7066a3',
    500: '#2e2d7c',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d7c;
$custom-light: #7066a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d7c",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 240.759,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35011,
    "c": 0.13031,
    "h": 277.8
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#2E2D7C
secondary
#AAAB5A
accent
#D651D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E2D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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