#2C50BF#2C50BF

#2C50BF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.179 H 266.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2C50BF
RGBrgb(44, 80, 191)
HSLhsl(225, 63%, 46%)
HSVhsv(225, 77%, 75%)
CMYKcmyk(77%, 58.1%, 0%, 25.1%)
CIE-LABlab(37.90, 27.30, -61.90)
CIE-LCHlch(37.90, 67.65, 293.80°)
OKLaboklab(47.48% -0.0126 -0.1787)
OKLCHoklch(47.48% 0.179 266)
XYZxyz(13.3080, 10.0329, 50.5153)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C50BF #BF9B2C
analogous
#2C99BF #2C50BF #512CBF
triadic
#2C50BF #BF2C50 #50BF2C
tetradic
#2C50BF #BF2C99 #BF9B2C #2CBF51
square
#2C50BF #BF2C99 #BF9B2C #2CBF51
split-complementary
#2C50BF #BF512C #99BF2C
monochromatic
#15265C #213B8D #2C50BF #5172D7 #839AE2

Accessibility & contrast

On white

6.98
#2C50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2C50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C50BF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C50BF#FFFFFF#000000##FFFFFF
##2C50BF1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c50bf;
/* rgb */ color: rgb(44, 80, 191);
/* oklch */ color: oklch(47.5% 0.179 266.0);
Tailwind
colors: {
  custom: {
    50: '#7c80d3',
    500: '#2c50bf',
    950: '#000000',
  },
}
SCSS
$custom: #2c50bf;
$custom-light: #7c80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c50bf",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 225.306,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47482,
    "c": 0.17917,
    "h": 266
  },
  "luminance": 0.10034
}

Semantic roles & 50–950 ramp

primary
#2C50BF
secondary
#CCB87B
accent
#BE42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2C50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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