#2C2DC7#2C2DC7

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

Color values

HEX#2C2DC7
RGBrgb(44, 45, 199)
HSLhsl(240, 64%, 48%)
HSVhsv(240, 78%, 78%)
CMYKcmyk(77.9%, 77.4%, 0%, 22%)
CIE-LABlab(30.72, 51.39, -78.37)
CIE-LCHlch(30.72, 93.72, 303.26°)
OKLaboklab(42.49% 0.0043 -0.2269)
OKLCHoklch(42.49% 0.227 271.1)
XYZxyz(12.2824, 6.5344, 54.6357)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DC7 #C7C62C
analogous
#2C7AC7 #2C2DC7 #792CC7
triadic
#2C2DC7 #C72C2D #2DC72C
tetradic
#2C2DC7 #C72C7A #C7C62C #2CC779
square
#2C2DC7 #C72C7A #C7C62C #2CC779
split-complementary
#2C2DC7 #C7792C #7AC72C
monochromatic
#161663 #212295 #2C2DC7 #5657DA #8989E5

Accessibility & contrast

On white

9.10
#2C2DC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2C2DC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DC7
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DC7#FFFFFF#000000##FFFFFF
##2C2DC71.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2dc7;
/* rgb */ color: rgb(44, 45, 199);
/* oklch */ color: oklch(42.5% 0.227 271.1);
Tailwind
colors: {
  custom: {
    50: '#8069d9',
    500: '#2c2dc7',
    950: '#000000',
  },
}
SCSS
$custom: #2c2dc7;
$custom-light: #8069d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2dc7",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 239.613,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.42485,
    "c": 0.22696,
    "h": 271.1
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#2C2DC7
secondary
#CFCE80
accent
#E641E7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2C2DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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