#2B50C2#2B50C2

#2B50C2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.183 H 265.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2B50C2
RGBrgb(43, 80, 194)
HSLhsl(225, 64%, 46%)
HSVhsv(225, 78%, 76%)
CMYKcmyk(77.8%, 58.8%, 0%, 23.9%)
CIE-LABlab(38.10, 28.32, -63.32)
CIE-LCHlch(38.10, 69.37, 294.10°)
OKLaboklab(47.69% -0.0133 -0.1829)
OKLCHoklch(47.69% 0.183 265.9)
XYZxyz(13.5991, 10.1444, 52.2698)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B50C2 #C29D2B
analogous
#2B9CC2 #2B50C2 #522BC2
triadic
#2B50C2 #C22B50 #50C22B
tetradic
#2B50C2 #C22B9C #C29D2B #2BC252
square
#2B50C2 #C22B9C #C29D2B #2BC252
split-complementary
#2B50C2 #C2522B #9CC22B
monochromatic
#15275E #203B90 #2B50C2 #5273D9 #849BE4

Accessibility & contrast

On white

6.93
#2B50C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2B50C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B50C2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B50C2#FFFFFF#000000##FFFFFF
##2B50C21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b50c2;
/* rgb */ color: rgb(43, 80, 194);
/* oklch */ color: oklch(47.7% 0.183 265.9);
Tailwind
colors: {
  custom: {
    50: '#7c80d5',
    500: '#2b50c2',
    950: '#000000',
  },
}
SCSS
$custom: #2b50c2;
$custom-light: #7c80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b50c2",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 225.298,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47694,
    "c": 0.18342,
    "h": 265.9
  },
  "luminance": 0.10146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B50C2

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

Preview Lab → · Contrast checker → · Palette generator →

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