#2B50C4#2B50C4

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

Color values

HEX#2B50C4
RGBrgb(43, 80, 196)
HSLhsl(225, 64%, 47%)
HSVhsv(225, 78%, 77%)
CMYKcmyk(78.1%, 59.2%, 0%, 23.1%)
CIE-LABlab(38.26, 29.07, -64.23)
CIE-LCHlch(38.26, 70.50, 294.35°)
OKLaboklab(47.86% -0.0132 -0.1856)
OKLCHoklch(47.86% 0.186 265.9)
XYZxyz(13.8252, 10.2348, 53.4607)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B50C4 #C49F2B
analogous
#2B9DC4 #2B50C4 #522BC4
triadic
#2B50C4 #C42B50 #50C42B
tetradic
#2B50C4 #C42B9D #C49F2B #2BC452
square
#2B50C4 #C42B9D #C49F2B #2BC452
split-complementary
#2B50C4 #C4522B #9DC42B
monochromatic
#152760 #203C92 #2B50C4 #5373D9 #859CE4

Accessibility & contrast

On white

6.89
#2B50C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2B50C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B50C4
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B50C4#FFFFFF#000000##FFFFFF
##2B50C41.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b50c4;
/* rgb */ color: rgb(43, 80, 196);
/* oklch */ color: oklch(47.9% 0.186 265.9);
Tailwind
colors: {
  custom: {
    50: '#7c80d7',
    500: '#2b50c4',
    950: '#000000',
  },
}
SCSS
$custom: #2b50c4;
$custom-light: #7c80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b50c4",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 196
  },
  "hsl": {
    "h": 225.49,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47864,
    "c": 0.18607,
    "h": 265.9
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#2B50C4
secondary
#CEBA7D
accent
#BF41E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B50C4

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

Preview Lab → · Contrast checker → · Palette generator →

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