#2E2DCA#2E2DCA

#2E2DCA is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.9% C 0.230 H 271.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2E2DCA
RGBrgb(46, 45, 202)
HSLhsl(240, 64%, 48%)
HSVhsv(240, 78%, 79%)
CMYKcmyk(77.2%, 77.7%, 0%, 20.8%)
CIE-LABlab(31.16, 52.48, -79.40)
CIE-LCHlch(31.16, 95.17, 303.47°)
OKLaboklab(42.92% 0.006 -0.2298)
OKLCHoklch(42.92% 0.23 271.5)
XYZxyz(12.7222, 6.7205, 56.4923)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2DCA #C9CA2D
analogous
#2D7ACA #2E2DCA #7C2DCA
triadic
#2E2DCA #CA2E2D #2DCA2E
tetradic
#2E2DCA #CA2D7A #C9CA2D #2DCA7C
square
#2E2DCA #CA2D7A #C9CA2D #2DCA7C
split-complementary
#2E2DCA #CA7C2D #7ACA2D
monochromatic
#171766 #232298 #2E2DCA #5B5ADA #8D8CE5

Accessibility & contrast

On white

8.96
#2E2DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2E2DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2DCA
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2DCA#FFFFFF#000000##FFFFFF
##2E2DCA1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0041C7
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e2dca;
/* rgb */ color: rgb(46, 45, 202);
/* oklch */ color: oklch(42.9% 0.230 271.5);
Tailwind
colors: {
  custom: {
    50: '#8269dc',
    500: '#2e2dca',
    950: '#000000',
  },
}
SCSS
$custom: #2e2dca;
$custom-light: #8269dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2dca",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 240.382,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.22993,
    "h": 271.5
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#2E2DCA
secondary
#CFCF83
accent
#E741E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #2E2DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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