#2D2DE2#2D2DE2

#2D2DE2 is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.6% C 0.257 H 270.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2D2DE2
RGBrgb(45, 45, 226)
HSLhsl(240, 76%, 53%)
HSVhsv(240, 80%, 89%)
CMYKcmyk(80.1%, 80.1%, 0%, 11.4%)
CIE-LABlab(33.82, 59.84, -88.85)
CIE-LCHlch(33.82, 107.12, 303.96°)
OKLaboklab(45.55% 0.0001 -0.2573)
OKLCHoklch(45.55% 0.257 270)
XYZxyz(15.7434, 7.9238, 72.6365)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2DE2 #E2E22D
analogous
#2D87E2 #2D2DE2 #872DE2
triadic
#2D2DE2 #E22D2D #2DE22D
tetradic
#2D2DE2 #E22D87 #E2E22D #2DE287
square
#2D2DE2 #E22D87 #E2E22D #2DE287
split-complementary
#2D2DE2 #E2872D #87E22D
monochromatic
#121283 #1919B8 #2D2DE2 #6363E9 #9999F1

Accessibility & contrast

On white

8.12
#2D2DE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2D2DE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2DE2
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2DE2#FFFFFF#000000##FFFFFF
##2D2DE21.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#0046DF
Tritanopia (blue-blind)
#006789
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d2de2;
/* rgb */ color: rgb(45, 45, 226);
/* oklch */ color: oklch(45.6% 0.257 270.0);
Tailwind
colors: {
  custom: {
    50: '#876aed',
    500: '#2d2de2',
    950: '#000000',
  },
}
SCSS
$custom: #2d2de2;
$custom-light: #876aed;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2de2",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.45551,
    "c": 0.25726,
    "h": 270
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#2D2DE2
secondary
#DCDC8E
accent
#F235F2
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2D2DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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