#2C2EC5#2C2EC5

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

Color values

HEX#2C2EC5
RGBrgb(44, 46, 197)
HSLhsl(239, 63%, 47%)
HSVhsv(239, 78%, 77%)
CMYKcmyk(77.7%, 76.6%, 0%, 22.7%)
CIE-LABlab(30.69, 50.23, -77.26)
CIE-LCHlch(30.69, 92.15, 303.03°)
OKLaboklab(42.4% 0.0044 -0.2237)
OKLCHoklch(42.4% 0.224 271.1)
XYZxyz(12.0903, 6.5193, 53.4337)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EC5 #C5C32C
analogous
#2C7AC5 #2C2EC5 #772CC5
triadic
#2C2EC5 #C52C2E #2EC52C
tetradic
#2C2EC5 #C52C7A #C5C32C #2CC577
square
#2C2EC5 #C52C7A #C5C32C #2CC577
split-complementary
#2C2EC5 #C5772C #7AC52C
monochromatic
#161761 #212293 #2C2EC5 #5557D9 #8788E4

Accessibility & contrast

On white

9.11
#2C2EC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2EC5
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EC5#FFFFFF#000000##FFFFFF
##2C2EC51.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C9
Deuteranopia (green-blind)
#0040C2
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c2ec5;
/* rgb */ color: rgb(44, 46, 197);
/* oklch */ color: oklch(42.4% 0.224 271.1);
Tailwind
colors: {
  custom: {
    50: '#8069d8',
    500: '#2c2ec5',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ec5;
$custom-light: #8069d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ec5",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 197
  },
  "hsl": {
    "h": 239.216,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.22374,
    "h": 271.1
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#2C2EC5
secondary
#CECD7F
accent
#E441E7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2C2EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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