#2C2FC7#2C2FC7

#2C2FC7 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.7% C 0.225 H 270.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2C2FC7
RGBrgb(44, 47, 199)
HSLhsl(239, 64%, 48%)
HSVhsv(239, 78%, 78%)
CMYKcmyk(77.9%, 76.4%, 0%, 22%)
CIE-LABlab(31.09, 50.34, -77.76)
CIE-LCHlch(31.09, 92.63, 302.92°)
OKLaboklab(42.75% 0.0037 -0.2252)
OKLCHoklch(42.75% 0.225 270.9)
XYZxyz(12.3605, 6.6906, 54.6617)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2FC7 #C7C42C
analogous
#2C7CC7 #2C2FC7 #772CC7
triadic
#2C2FC7 #C72C2F #2FC72C
tetradic
#2C2FC7 #C72C7C #C7C42C #2CC777
square
#2C2FC7 #C72C7C #C7C42C #2CC777
split-complementary
#2C2FC7 #C7772C #7CC72C
monochromatic
#161763 #212395 #2C2FC7 #5659DA #898AE5

Accessibility & contrast

On white

8.98
#2C2FC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2C2FC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2FC7
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2FC7#FFFFFF#000000##FFFFFF
##2C2FC71.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CB
Deuteranopia (green-blind)
#0041C4
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c2fc7;
/* rgb */ color: rgb(44, 47, 199);
/* oklch */ color: oklch(42.7% 0.225 270.9);
Tailwind
colors: {
  custom: {
    50: '#806ad9',
    500: '#2c2fc7',
    950: '#000000',
  },
}
SCSS
$custom: #2c2fc7;
$custom-light: #806ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2fc7",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 199
  },
  "hsl": {
    "h": 238.839,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.42745,
    "c": 0.2252,
    "h": 270.9
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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