#2B4AB4#2B4AB4

#2B4AB4 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.172 H 266.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2B4AB4
RGBrgb(43, 74, 180)
HSLhsl(226, 61%, 44%)
HSVhsv(226, 76%, 71%)
CMYKcmyk(76.1%, 58.9%, 0%, 29.4%)
CIE-LABlab(35.41, 26.99, -59.49)
CIE-LCHlch(35.41, 65.33, 294.40°)
OKLaboklab(45.33% -0.0096 -0.1718)
OKLCHoklch(45.33% 0.172 266.8)
XYZxyz(11.6804, 8.7051, 44.2358)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4AB4 #B4952B
analogous
#2B8EB4 #2B4AB4 #502BB4
triadic
#2B4AB4 #B42B4A #4AB42B
tetradic
#2B4AB4 #B42B8E #B4952B #2BB450
square
#2B4AB4 #B42B8E #B4952B #2BB450
split-complementary
#2B4AB4 #B4502B #8EB42B
monochromatic
#132151 #1F3683 #2B4AB4 #4968D3 #7A91DF

Accessibility & contrast

On white

7.66
#2B4AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2B4AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4AB4
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4AB4#FFFFFF#000000##FFFFFF
##2B4AB41.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b4ab4;
/* rgb */ color: rgb(43, 74, 180);
/* oklch */ color: oklch(45.3% 0.172 266.8);
Tailwind
colors: {
  custom: {
    50: '#797ccb',
    500: '#2b4ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ab4;
$custom-light: #797ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ab4",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 226.423,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45333,
    "c": 0.17204,
    "h": 266.8
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#2B4AB4
secondary
#C7B473
accent
#C043E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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