#2D2ED2#2D2ED2

#2D2ED2 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.9% C 0.239 H 270.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2D2ED2
RGBrgb(45, 46, 210)
HSLhsl(240, 65%, 50%)
HSVhsv(240, 79%, 82%)
CMYKcmyk(78.6%, 78.1%, 0%, 17.6%)
CIE-LABlab(32.18, 54.43, -82.37)
CIE-LCHlch(32.18, 98.73, 303.45°)
OKLaboklab(43.88% 0.003 -0.2385)
OKLCHoklch(43.88% 0.239 270.7)
XYZxyz(13.6881, 7.1635, 61.6215)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2ED2 #D2D12D
analogous
#2D81D2 #2D2ED2 #7E2DD2
triadic
#2D2ED2 #D22D2E #2ED22D
tetradic
#2D2ED2 #D22D81 #D2D12D #2DD27E
square
#2D2ED2 #D22D81 #D2D12D #2DD27E
split-complementary
#2D2ED2 #D27E2D #81D22D
monochromatic
#17186D #2223A0 #2D2ED2 #5F60DD #9292E8

Accessibility & contrast

On white

8.63
#2D2ED2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2D2ED2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2ED2
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2ED2#FFFFFF#000000##FFFFFF
##2D2ED21.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D7
Deuteranopia (green-blind)
#0043CF
Tritanopia (blue-blind)
#006180
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d2ed2;
/* rgb */ color: rgb(45, 46, 210);
/* oklch */ color: oklch(43.9% 0.239 270.7);
Tailwind
colors: {
  custom: {
    50: '#836ae1',
    500: '#2d2ed2',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ed2;
$custom-light: #836ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ed2",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 210
  },
  "hsl": {
    "h": 239.636,
    "s": 64.706,
    "l": 50
  },
  "oklch": {
    "l": 0.43876,
    "c": 0.23853,
    "h": 270.7
  },
  "luminance": 0.07165
}

Semantic roles & 50–950 ramp

primary
#2D2ED2
secondary
#D2D288
accent
#E740E8
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #2D2ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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