#2B4BB4#2B4BB4

#2B4BB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.171 H 266.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2B4BB4
RGBrgb(43, 75, 180)
HSLhsl(226, 61%, 44%)
HSVhsv(226, 76%, 71%)
CMYKcmyk(76.1%, 58.3%, 0%, 29.4%)
CIE-LABlab(35.67, 26.33, -59.06)
CIE-LCHlch(35.67, 64.66, 294.03°)
OKLaboklab(45.53% -0.0103 -0.1705)
OKLCHoklch(45.53% 0.171 266.5)
XYZxyz(11.7477, 8.8397, 44.2583)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BB4 #B4942B
analogous
#2B8FB4 #2B4BB4 #4F2BB4
triadic
#2B4BB4 #B42B4B #4BB42B
tetradic
#2B4BB4 #B42B8F #B4942B #2BB44F
square
#2B4BB4 #B42B8F #B4942B #2BB44F
split-complementary
#2B4BB4 #B44F2B #8FB42B
monochromatic
#132251 #1F3683 #2B4BB4 #4969D3 #7A92DF

Accessibility & contrast

On white

7.59
#2B4BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4BB4
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BB4#FFFFFF#000000##FFFFFF
##2B4BB41.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4bb4;
/* rgb */ color: rgb(43, 75, 180);
/* oklch */ color: oklch(45.5% 0.171 266.5);
Tailwind
colors: {
  custom: {
    50: '#797ccb',
    500: '#2b4bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2b4bb4;
$custom-light: #797ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4bb4",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 225.985,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4553,
    "c": 0.1708,
    "h": 266.5
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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