#2D2CC7#2D2CC7

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

Color values

HEX#2D2CC7
RGBrgb(45, 44, 199)
HSLhsl(240, 64%, 48%)
HSVhsv(240, 78%, 78%)
CMYKcmyk(77.4%, 77.9%, 0%, 22%)
CIE-LABlab(30.60, 51.98, -78.58)
CIE-LCHlch(30.60, 94.22, 303.48°)
OKLaboklab(42.41% 0.0058 -0.2275)
OKLCHoklch(42.41% 0.228 271.4)
XYZxyz(12.2882, 6.4814, 54.6252)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CC7 #C6C72C
analogous
#2C79C7 #2D2CC7 #7A2CC7
triadic
#2D2CC7 #C72D2C #2CC72D
tetradic
#2D2CC7 #C72C79 #C6C72C #2CC77A
square
#2D2CC7 #C72C79 #C6C72C #2CC77A
split-complementary
#2D2CC7 #C77A2C #79C72C
monochromatic
#161663 #222195 #2D2CC7 #5756DA #8989E5

Accessibility & contrast

On white

9.14
#2D2CC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2CC7
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CC7#FFFFFF#000000##FFFFFF
##2D2CC71.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CB
Deuteranopia (green-blind)
#0040C4
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d2cc7;
/* rgb */ color: rgb(45, 44, 199);
/* oklch */ color: oklch(42.4% 0.228 271.4);
Tailwind
colors: {
  custom: {
    50: '#8168d9',
    500: '#2d2cc7',
    950: '#000000',
  },
}
SCSS
$custom: #2d2cc7;
$custom-light: #8168d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2cc7",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 240.387,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.42411,
    "c": 0.22756,
    "h": 271.4
  },
  "luminance": 0.06483
}

Semantic roles & 50–950 ramp

primary
#2D2CC7
secondary
#CECF80
accent
#E741E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2D2CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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