#2D2ECA#2D2ECA

#2D2ECA is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.0% C 0.229 H 271.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2D2ECA
RGBrgb(45, 46, 202)
HSLhsl(240, 64%, 48%)
HSVhsv(240, 78%, 79%)
CMYKcmyk(77.7%, 77.2%, 0%, 20.8%)
CIE-LABlab(31.29, 51.90, -79.19)
CIE-LCHlch(31.29, 94.68, 303.24°)
OKLaboklab(42.99% 0.0045 -0.2293)
OKLCHoklch(42.99% 0.229 271.1)
XYZxyz(12.7162, 6.7747, 56.5031)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2ECA #CAC92D
analogous
#2D7CCA #2D2ECA #7A2DCA
triadic
#2D2ECA #CA2D2E #2ECA2D
tetradic
#2D2ECA #CA2D7C #CAC92D #2DCA7A
square
#2D2ECA #CA2D7C #CAC92D #2DCA7A
split-complementary
#2D2ECA #CA7A2D #7CCA2D
monochromatic
#171766 #222398 #2D2ECA #5A5BDA #8C8DE5

Accessibility & contrast

On white

8.92
#2D2ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D2ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2ECA
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2ECA#FFFFFF#000000##FFFFFF
##2D2ECA1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0042C7
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d2eca;
/* rgb */ color: rgb(45, 46, 202);
/* oklch */ color: oklch(43.0% 0.229 271.1);
Tailwind
colors: {
  custom: {
    50: '#816adc',
    500: '#2d2eca',
    950: '#000000',
  },
}
SCSS
$custom: #2d2eca;
$custom-light: #816adc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2eca",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 239.618,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.42994,
    "c": 0.22932,
    "h": 271.1
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#2D2ECA
secondary
#CFCF83
accent
#E641E7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D2ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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