#2D2CCA#2D2CCA

#2D2CCA is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.7% C 0.231 H 271.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2D2CCA
RGBrgb(45, 44, 202)
HSLhsl(240, 64%, 48%)
HSVhsv(240, 78%, 79%)
CMYKcmyk(77.7%, 78.2%, 0%, 20.8%)
CIE-LABlab(30.93, 52.93, -79.78)
CIE-LCHlch(30.93, 95.74, 303.56°)
OKLaboklab(42.74% 0.0052 -0.231)
OKLCHoklch(42.74% 0.231 271.3)
XYZxyz(12.6399, 6.6221, 56.4777)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CCA #C9CA2C
analogous
#2C7ACA #2D2CCA #7C2CCA
triadic
#2D2CCA #CA2D2C #2CCA2D
tetradic
#2D2CCA #CA2C7A #C9CA2C #2CCA7C
square
#2D2CCA #CA2C7A #C9CA2C #2CCA7C
split-complementary
#2D2CCA #CA7C2C #7ACA2C
monochromatic
#171665 #222198 #2D2CCA #5958DB #8B8BE6

Accessibility & contrast

On white

9.03
#2D2CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2D2CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CCA
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CCA#FFFFFF#000000##FFFFFF
##2D2CCA1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0041C7
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d2cca;
/* rgb */ color: rgb(45, 44, 202);
/* oklch */ color: oklch(42.7% 0.231 271.3);
Tailwind
colors: {
  custom: {
    50: '#8268dc',
    500: '#2d2cca',
    950: '#000000',
  },
}
SCSS
$custom: #2d2cca;
$custom-light: #8268dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2cca",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 202
  },
  "hsl": {
    "h": 240.38,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.42743,
    "c": 0.23103,
    "h": 271.3
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#2D2CCA
secondary
#CFD082
accent
#E741E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #2D2CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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