#2C2EC0#2C2EC0

#2C2EC0 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.9% C 0.218 H 271.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#2C2EC0
RGBrgb(44, 46, 192)
HSLhsl(239, 63%, 46%)
HSVhsv(239, 77%, 75%)
CMYKcmyk(77.1%, 76%, 0%, 24.7%)
CIE-LABlab(30.14, 48.60, -75.22)
CIE-LCHlch(30.14, 89.56, 302.87°)
OKLaboklab(41.85% 0.0053 -0.2178)
OKLCHoklch(41.85% 0.218 271.4)
XYZxyz(11.5269, 6.2940, 50.4663)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EC0 #C0BE2C
analogous
#2C78C0 #2C2EC0 #742CC0
triadic
#2C2EC0 #C02C2E #2EC02C
tetradic
#2C2EC0 #C02C78 #C0BE2C #2CC074
square
#2C2EC0 #C02C78 #C0BE2C #2CC074
split-complementary
#2C2EC0 #C0742C #78C02C
monochromatic
#15165C #21228E #2C2EC0 #5254D7 #8485E3

Accessibility & contrast

On white

9.30
#2C2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2C2EC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EC0
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EC0#FFFFFF#000000##FFFFFF
##2C2EC01.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC4
Deuteranopia (green-blind)
#003FBD
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c2ec0;
/* rgb */ color: rgb(44, 46, 192);
/* oklch */ color: oklch(41.9% 0.218 271.4);
Tailwind
colors: {
  custom: {
    50: '#7f69d4',
    500: '#2c2ec0',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ec0;
$custom-light: #7f69d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ec0",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 239.189,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.41852,
    "c": 0.21785,
    "h": 271.4
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#2C2EC0
secondary
#CCCB7C
accent
#E442E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C2EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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