#2B50A2#2B50A2

#2B50A2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.140 H 263.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2B50A2
RGBrgb(43, 80, 162)
HSLhsl(221, 58%, 40%)
HSVhsv(221, 73%, 64%)
CMYKcmyk(73.5%, 50.6%, 0%, 36.5%)
CIE-LABlab(35.71, 16.14, -48.29)
CIE-LCHlch(35.71, 50.91, 288.48°)
OKLaboklab(45.14% -0.0157 -0.1387)
OKLCHoklch(45.14% 0.14 263.5)
XYZxyz(10.3842, 8.8584, 35.3380)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B50A2 #A27D2B
analogous
#2B8BA2 #2B50A2 #422BA2
triadic
#2B50A2 #A22B50 #50A22B
tetradic
#2B50A2 #A22B8B #A27D2B #2BA242
square
#2B50A2 #A22B8B #A27D2B #2BA242
split-complementary
#2B50A2 #A2422B #8BA22B
monochromatic
#112041 #1E3872 #2B50A2 #3E6ACC #6F90D9

Accessibility & contrast

On white

7.58
#2B50A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2B50A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B50A2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B50A2#FFFFFF#000000##FFFFFF
##2B50A21.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b50a2;
/* rgb */ color: rgb(43, 80, 162);
/* oklch */ color: oklch(45.1% 0.140 263.5);
Tailwind
colors: {
  custom: {
    50: '#7480be',
    500: '#2b50a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b50a2;
$custom-light: #7480be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b50a2",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 221.345,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45135,
    "c": 0.13962,
    "h": 263.5
  },
  "luminance": 0.0886
}

Semantic roles & 50–950 ramp

primary
#2B50A2
secondary
#C0A569
accent
#B147E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B50A2

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

Preview Lab → · Contrast checker → · Palette generator →

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