#2C50B6#2C50B6

#2C50B6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.7% C 0.167 H 265.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2C50B6
RGBrgb(44, 80, 182)
HSLhsl(224, 61%, 44%)
HSVhsv(224, 76%, 71%)
CMYKcmyk(75.8%, 56%, 0%, 28.6%)
CIE-LABlab(37.20, 23.90, -57.75)
CIE-LCHlch(37.20, 62.50, 292.49°)
OKLaboklab(46.74% -0.013 -0.1665)
OKLCHoklch(46.74% 0.167 265.5)
XYZxyz(12.3479, 9.6488, 45.4585)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C50B6 #B6922C
analogous
#2C95B6 #2C50B6 #4D2CB6
triadic
#2C50B6 #B62C50 #50B62C
tetradic
#2C50B6 #B62C95 #B6922C #2CB64D
square
#2C50B6 #B62C95 #B6922C #2CB64D
split-complementary
#2C50B6 #B64D2C #95B62C
monochromatic
#142553 #203A85 #2C50B6 #4C6FD4 #7D97E0

Accessibility & contrast

On white

7.17
#2C50B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2C50B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C50B6
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C50B6#FFFFFF#000000##FFFFFF
##2C50B61.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c50b6;
/* rgb */ color: rgb(44, 80, 182);
/* oklch */ color: oklch(46.7% 0.167 265.5);
Tailwind
colors: {
  custom: {
    50: '#7980cd',
    500: '#2c50b6',
    950: '#000000',
  },
}
SCSS
$custom: #2c50b6;
$custom-light: #7980cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c50b6",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 182
  },
  "hsl": {
    "h": 224.348,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4674,
    "c": 0.16705,
    "h": 265.5
  },
  "luminance": 0.0965
}

Semantic roles & 50–950 ramp

primary
#2C50B6
secondary
#C8B376
accent
#BA44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #2C50B6

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

Preview Lab → · Contrast checker → · Palette generator →

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