#2D2CD3#2D2CD3

#2D2CD3 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.7% C 0.241 H 270.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#2D2CD3
RGBrgb(45, 44, 211)
HSLhsl(240, 65%, 50%)
HSVhsv(240, 79%, 83%)
CMYKcmyk(78.7%, 79.1%, 0%, 17.3%)
CIE-LABlab(31.94, 55.73, -83.33)
CIE-LCHlch(31.94, 100.25, 303.77°)
OKLaboklab(43.75% 0.0034 -0.2413)
OKLCHoklch(43.75% 0.241 270.8)
XYZxyz(13.7368, 7.0608, 62.2543)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CD3 #D2D32C
analogous
#2C7FD3 #2D2CD3 #802CD3
triadic
#2D2CD3 #D32D2C #2CD32D
tetradic
#2D2CD3 #D32C7F #D2D32C #2CD380
square
#2D2CD3 #D32C7F #D2D32C #2CD380
split-complementary
#2D2CD3 #D3802C #7FD32C
monochromatic
#17176E #2221A0 #2D2CD3 #5F5FDE #9291E8

Accessibility & contrast

On white

8.71
#2D2CD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2D2CD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CD3
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CD3#FFFFFF#000000##FFFFFF
##2D2CD31.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D8
Deuteranopia (green-blind)
#0042D0
Tritanopia (blue-blind)
#006080
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d2cd3;
/* rgb */ color: rgb(45, 44, 211);
/* oklch */ color: oklch(43.7% 0.241 270.8);
Tailwind
colors: {
  custom: {
    50: '#8469e2',
    500: '#2d2cd3',
    950: '#000000',
  },
}
SCSS
$custom: #2d2cd3;
$custom-light: #8469e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2cd3",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 211
  },
  "hsl": {
    "h": 240.359,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.43747,
    "c": 0.24129,
    "h": 270.8
  },
  "luminance": 0.07062
}

Semantic roles & 50–950 ramp

primary
#2D2CD3
secondary
#D2D388
accent
#E83FE7
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2D2CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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