#2C50C2#2C50C2

#2C50C2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.183 H 266.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2C50C2
RGBrgb(44, 80, 194)
HSLhsl(226, 63%, 47%)
HSVhsv(226, 77%, 76%)
CMYKcmyk(77.3%, 58.8%, 0%, 23.9%)
CIE-LABlab(38.14, 28.43, -63.26)
CIE-LCHlch(38.14, 69.35, 294.20°)
OKLaboklab(47.73% -0.0125 -0.1827)
OKLCHoklch(47.73% 0.183 266.1)
XYZxyz(13.6416, 10.1663, 52.2718)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C50C2 #C29E2C
analogous
#2C9BC2 #2C50C2 #532CC2
triadic
#2C50C2 #C22C50 #50C22C
tetradic
#2C50C2 #C22C9B #C29E2C #2CC253
square
#2C50C2 #C22C9B #C29E2C #2CC253
split-complementary
#2C50C2 #C2532C #9BC22C
monochromatic
#15275E #213B90 #2C50C2 #5373D8 #859CE3

Accessibility & contrast

On white

6.92
#2C50C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2C50C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C50C2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C50C2#FFFFFF#000000##FFFFFF
##2C50C21.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c50c2;
/* rgb */ color: rgb(44, 80, 194);
/* oklch */ color: oklch(47.7% 0.183 266.1);
Tailwind
colors: {
  custom: {
    50: '#7c80d5',
    500: '#2c50c2',
    950: '#000000',
  },
}
SCSS
$custom: #2c50c2;
$custom-light: #7c80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c50c2",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 225.6,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47734,
    "c": 0.18315,
    "h": 266.1
  },
  "luminance": 0.10168
}

Semantic roles & 50–950 ramp

primary
#2C50C2
secondary
#CDBA7D
accent
#BF42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2C50C2

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

Preview Lab → · Contrast checker → · Palette generator →

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