#2C2FCA#2C2FCA

#2C2FCA is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.1% C 0.229 H 270.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2C2FCA
RGBrgb(44, 47, 202)
HSLhsl(239, 64%, 48%)
HSVhsv(239, 78%, 79%)
CMYKcmyk(78.2%, 76.7%, 0%, 20.8%)
CIE-LABlab(31.42, 51.31, -78.97)
CIE-LCHlch(31.42, 94.17, 303.01°)
OKLaboklab(43.07% 0.0031 -0.2287)
OKLCHoklch(43.07% 0.229 270.8)
XYZxyz(12.7123, 6.8313, 56.5143)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2FCA #CAC72C
analogous
#2C7ECA #2C2FCA #782CCA
triadic
#2C2FCA #CA2C2F #2FCA2C
tetradic
#2C2FCA #CA2C7E #CAC72C #2CCA78
square
#2C2FCA #CA2C7E #CAC72C #2CCA78
split-complementary
#2C2FCA #CA782C #7ECA2C
monochromatic
#161865 #212398 #2C2FCA #585BDB #8B8CE6

Accessibility & contrast

On white

8.87
#2C2FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2C2FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2FCA
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2FCA#FFFFFF#000000##FFFFFF
##2C2FCA1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0042C7
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c2fca;
/* rgb */ color: rgb(44, 47, 202);
/* oklch */ color: oklch(43.1% 0.229 270.8);
Tailwind
colors: {
  custom: {
    50: '#816adc',
    500: '#2c2fca',
    950: '#000000',
  },
}
SCSS
$custom: #2c2fca;
$custom-light: #816adc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2fca",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 238.861,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43072,
    "c": 0.2287,
    "h": 270.8
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#2C2FCA
secondary
#D0CE82
accent
#E441E7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2C2FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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