#2B50C3#2B50C3

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

Color values

HEX#2B50C3
RGBrgb(43, 80, 195)
HSLhsl(225, 64%, 47%)
HSVhsv(225, 78%, 76%)
CMYKcmyk(77.9%, 59%, 0%, 23.5%)
CIE-LABlab(38.18, 28.70, -63.78)
CIE-LCHlch(38.18, 69.94, 294.23°)
OKLaboklab(47.78% -0.0132 -0.1843)
OKLCHoklch(47.78% 0.185 265.9)
XYZxyz(13.7118, 10.1895, 52.8633)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B50C3 #C39E2B
analogous
#2B9CC3 #2B50C3 #522BC3
triadic
#2B50C3 #C32B50 #50C32B
tetradic
#2B50C3 #C32B9C #C39E2B #2BC352
square
#2B50C3 #C32B9C #C39E2B #2BC352
split-complementary
#2B50C3 #C3522B #9CC32B
monochromatic
#15275F #203B91 #2B50C3 #5273D9 #849CE4

Accessibility & contrast

On white

6.91
#2B50C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B50C3
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B50C3#FFFFFF#000000##FFFFFF
##2B50C31.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.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: #2b50c3;
/* rgb */ color: rgb(43, 80, 195);
/* oklch */ color: oklch(47.8% 0.185 265.9);
Tailwind
colors: {
  custom: {
    50: '#7c80d6',
    500: '#2b50c3',
    950: '#000000',
  },
}
SCSS
$custom: #2b50c3;
$custom-light: #7c80d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b50c3",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 195
  },
  "hsl": {
    "h": 225.395,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47779,
    "c": 0.18474,
    "h": 265.9
  },
  "luminance": 0.10191
}

Semantic roles & 50–950 ramp

primary
#2B50C3
secondary
#CDBA7D
accent
#BE41E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B50C3

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

Preview Lab → · Contrast checker → · Palette generator →

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