#2D2ACA#2D2ACA

#2D2ACA is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.5% C 0.233 H 271.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2D2ACA
RGBrgb(45, 42, 202)
HSLhsl(241, 66%, 48%)
HSVhsv(241, 79%, 79%)
CMYKcmyk(77.7%, 79.2%, 0%, 20.8%)
CIE-LABlab(30.58, 53.93, -80.35)
CIE-LCHlch(30.58, 96.77, 303.87°)
OKLaboklab(42.5% 0.0057 -0.2326)
OKLCHoklch(42.5% 0.233 271.4)
XYZxyz(12.5672, 6.4767, 56.4535)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2ACA #C7CA2A
analogous
#2A77CA #2D2ACA #7D2ACA
triadic
#2D2ACA #CA2D2A #2ACA2D
tetradic
#2D2ACA #CA2A77 #C7CA2A #2ACA7D
square
#2D2ACA #CA2A77 #C7CA2A #2ACA7D
split-complementary
#2D2ACA #CA7D2A #77CA2A
monochromatic
#161565 #221F97 #2D2ACA #5855DC #8A88E6

Accessibility & contrast

On white

9.15
#2D2ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D2ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2ACA
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2ACA#FFFFFF#000000##FFFFFF
##2D2ACA1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0040C7
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d2aca;
/* rgb */ color: rgb(45, 42, 202);
/* oklch */ color: oklch(42.5% 0.233 271.4);
Tailwind
colors: {
  custom: {
    50: '#8267dc',
    500: '#2d2aca',
    950: '#000000',
  },
}
SCSS
$custom: #2d2aca;
$custom-light: #8267dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2aca",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 241.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.42501,
    "c": 0.23267,
    "h": 271.4
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#2D2ACA
secondary
#CED080
accent
#E93FE5
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #2D2ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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