#2B50A4#2B50A4

#2B50A4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.142 H 263.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2B50A4
RGBrgb(43, 80, 164)
HSLhsl(222, 58%, 41%)
HSVhsv(222, 74%, 64%)
CMYKcmyk(73.8%, 51.2%, 0%, 35.7%)
CIE-LABlab(35.85, 16.91, -49.26)
CIE-LCHlch(35.85, 52.08, 288.94°)
OKLaboklab(45.29% -0.0155 -0.1416)
OKLCHoklch(45.29% 0.142 263.8)
XYZxyz(10.5634, 8.9301, 36.2817)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B50A4 #A47F2B
analogous
#2B8CA4 #2B50A4 #422BA4
triadic
#2B50A4 #A42B50 #50A42B
tetradic
#2B50A4 #A42B8C #A47F2B #2BA442
square
#2B50A4 #A42B8C #A47F2B #2BA442
split-complementary
#2B50A4 #A4422B #8CA42B
monochromatic
#122143 #1E3874 #2B50A4 #3F6BCD #7090D9

Accessibility & contrast

On white

7.54
#2B50A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2B50A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B50A4
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B50A4#FFFFFF#000000##FFFFFF
##2B50A41.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5AA7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b50a4;
/* rgb */ color: rgb(43, 80, 164);
/* oklch */ color: oklch(45.3% 0.142 263.8);
Tailwind
colors: {
  custom: {
    50: '#7580c0',
    500: '#2b50a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b50a4;
$custom-light: #7580c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b50a4",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 164
  },
  "hsl": {
    "h": 221.653,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45286,
    "c": 0.14243,
    "h": 263.8
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

primary
#2B50A4
secondary
#C1A66A
accent
#B246E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B50A4

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

Preview Lab → · Contrast checker → · Palette generator →

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