#2B50BD#2B50BD

#2B50BD is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.177 H 265.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2B50BD
RGBrgb(43, 80, 189)
HSLhsl(225, 63%, 45%)
HSVhsv(225, 77%, 74%)
CMYKcmyk(77.2%, 57.7%, 0%, 25.9%)
CIE-LABlab(37.70, 26.44, -61.05)
CIE-LCHlch(37.70, 66.53, 293.42°)
OKLaboklab(47.27% -0.0134 -0.1762)
OKLCHoklch(47.27% 0.177 265.6)
XYZxyz(13.0470, 9.9236, 49.3621)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B50BD #BD982B
analogous
#2B99BD #2B50BD #4F2BBD
triadic
#2B50BD #BD2B50 #50BD2B
tetradic
#2B50BD #BD2B99 #BD982B #2BBD4F
square
#2B50BD #BD2B99 #BD982B #2BBD4F
split-complementary
#2B50BD #BD4F2B #99BD2B
monochromatic
#142659 #203B8B #2B50BD #4E71D7 #8099E2

Accessibility & contrast

On white

7.04
#2B50BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2B50BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B50BD
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B50BD#FFFFFF#000000##FFFFFF
##2B50BD1.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b50bd;
/* rgb */ color: rgb(43, 80, 189);
/* oklch */ color: oklch(47.3% 0.177 265.6);
Tailwind
colors: {
  custom: {
    50: '#7b80d2',
    500: '#2b50bd',
    950: '#000000',
  },
}
SCSS
$custom: #2b50bd;
$custom-light: #7b80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b50bd",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 224.795,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47274,
    "c": 0.17676,
    "h": 265.6
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#2B50BD
secondary
#CBB679
accent
#BC42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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