#2C50C3#2C50C3

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

Color values

HEX#2C50C3
RGBrgb(44, 80, 195)
HSLhsl(226, 63%, 47%)
HSVhsv(226, 77%, 76%)
CMYKcmyk(77.4%, 59%, 0%, 23.5%)
CIE-LABlab(38.22, 28.80, -63.71)
CIE-LCHlch(38.22, 69.92, 294.32°)
OKLaboklab(47.82% -0.0124 -0.1841)
OKLCHoklch(47.82% 0.184 266.1)
XYZxyz(13.7542, 10.2114, 52.8653)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C50C3 #C39F2C
analogous
#2C9CC3 #2C50C3 #532CC3
triadic
#2C50C3 #C32C50 #50C32C
tetradic
#2C50C3 #C32C9C #C39F2C #2CC353
square
#2C50C3 #C32C9C #C39F2C #2CC353
split-complementary
#2C50C3 #C3532C #9CC32C
monochromatic
#15275F #213C91 #2C50C3 #5473D8 #869CE4

Accessibility & contrast

On white

6.90
#2C50C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2C50C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C50C3
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C50C3#FFFFFF#000000##FFFFFF
##2C50C31.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c50c3;
/* rgb */ color: rgb(44, 80, 195);
/* oklch */ color: oklch(47.8% 0.184 266.1);
Tailwind
colors: {
  custom: {
    50: '#7c80d6',
    500: '#2c50c3',
    950: '#000000',
  },
}
SCSS
$custom: #2c50c3;
$custom-light: #7c80d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c50c3",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 195
  },
  "hsl": {
    "h": 225.695,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47818,
    "c": 0.18448,
    "h": 266.1
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C50C3

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

Preview Lab → · Contrast checker → · Palette generator →

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