#2C50B3#2C50B3

#2C50B3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.163 H 265.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2C50B3
RGBrgb(44, 80, 179)
HSLhsl(224, 61%, 44%)
HSVhsv(224, 75%, 70%)
CMYKcmyk(75.4%, 55.3%, 0%, 29.8%)
CIE-LABlab(36.98, 22.77, -56.35)
CIE-LCHlch(36.98, 60.77, 292.00°)
OKLaboklab(46.5% -0.0132 -0.1624)
OKLCHoklch(46.5% 0.163 265.4)
XYZxyz(12.0412, 9.5261, 43.8432)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C50B3 #B38F2C
analogous
#2C93B3 #2C50B3 #4B2CB3
triadic
#2C50B3 #B32C50 #50B32C
tetradic
#2C50B3 #B32C93 #B38F2C #2CB34B
square
#2C50B3 #B32C93 #B38F2C #2CB34B
split-complementary
#2C50B3 #B34B2C #93B32C
monochromatic
#142451 #203A82 #2C50B3 #4A6ED2 #7B95DF

Accessibility & contrast

On white

7.23
#2C50B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2C50B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C50B3
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C50B3#FFFFFF#000000##FFFFFF
##2C50B31.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c50b3;
/* rgb */ color: rgb(44, 80, 179);
/* oklch */ color: oklch(46.5% 0.163 265.4);
Tailwind
colors: {
  custom: {
    50: '#7980ca',
    500: '#2c50b3',
    950: '#000000',
  },
}
SCSS
$custom: #2c50b3;
$custom-light: #7980ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c50b3",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 179
  },
  "hsl": {
    "h": 224,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46498,
    "c": 0.16296,
    "h": 265.4
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#2C50B3
secondary
#C7B174
accent
#B944E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C50B3

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

Preview Lab → · Contrast checker → · Palette generator →

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