#2C50BD#2C50BD

#2C50BD is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.176 H 265.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2C50BD
RGBrgb(44, 80, 189)
HSLhsl(225, 62%, 46%)
HSVhsv(225, 77%, 74%)
CMYKcmyk(76.7%, 57.7%, 0%, 25.9%)
CIE-LABlab(37.74, 26.55, -60.98)
CIE-LCHlch(37.74, 66.51, 293.53°)
OKLaboklab(47.32% -0.0126 -0.176)
OKLCHoklch(47.32% 0.176 265.9)
XYZxyz(13.0894, 9.9454, 49.3641)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C50BD #BD992C
analogous
#2C99BD #2C50BD #502CBD
triadic
#2C50BD #BD2C50 #50BD2C
tetradic
#2C50BD #BD2C99 #BD992C #2CBD50
square
#2C50BD #BD2C99 #BD992C #2CBD50
split-complementary
#2C50BD #BD502C #99BD2C
monochromatic
#15265A #203B8B #2C50BD #5071D6 #8299E2

Accessibility & contrast

On white

7.02
#2C50BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2C50BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C50BD
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C50BD#FFFFFF#000000##FFFFFF
##2C50BD1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c50bd;
/* rgb */ color: rgb(44, 80, 189);
/* oklch */ color: oklch(47.3% 0.176 265.9);
Tailwind
colors: {
  custom: {
    50: '#7b80d2',
    500: '#2c50bd',
    950: '#000000',
  },
}
SCSS
$custom: #2c50bd;
$custom-light: #7b80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c50bd",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 225.103,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47315,
    "c": 0.17649,
    "h": 265.9
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#2C50BD
secondary
#CBB77A
accent
#BD42E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2C50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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