#2B50C0#2B50C0

#2B50C0 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.181 H 265.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2B50C0
RGBrgb(43, 80, 192)
HSLhsl(225, 63%, 46%)
HSVhsv(225, 78%, 75%)
CMYKcmyk(77.6%, 58.3%, 0%, 24.7%)
CIE-LABlab(37.94, 27.57, -62.42)
CIE-LCHlch(37.94, 68.23, 293.83°)
OKLaboklab(47.53% -0.0133 -0.1803)
OKLCHoklch(47.53% 0.181 265.8)
XYZxyz(13.3760, 10.0552, 51.0948)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B50C0 #C09B2B
analogous
#2B9AC0 #2B50C0 #512BC0
triadic
#2B50C0 #C02B50 #50C02B
tetradic
#2B50C0 #C02B9A #C09B2B #2BC051
square
#2B50C0 #C02B9A #C09B2B #2BC051
split-complementary
#2B50C0 #C0512B #9AC02B
monochromatic
#15265C #203B8E #2B50C0 #5072D8 #829AE3

Accessibility & contrast

On white

6.97
#2B50C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2B50C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B50C0
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B50C0#FFFFFF#000000##FFFFFF
##2B50C01.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b50c0;
/* rgb */ color: rgb(43, 80, 192);
/* oklch */ color: oklch(47.5% 0.181 265.8);
Tailwind
colors: {
  custom: {
    50: '#7b80d4',
    500: '#2b50c0',
    950: '#000000',
  },
}
SCSS
$custom: #2b50c0;
$custom-light: #7b80d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b50c0",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 192
  },
  "hsl": {
    "h": 225.101,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47525,
    "c": 0.18077,
    "h": 265.8
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#2B50C0
secondary
#CCB87B
accent
#BD41E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B50C0

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

Preview Lab → · Contrast checker → · Palette generator →

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