#2B4AB5#2B4AB5

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

Color values

HEX#2B4AB5
RGBrgb(43, 74, 181)
HSLhsl(227, 62%, 44%)
HSVhsv(227, 76%, 71%)
CMYKcmyk(76.2%, 59.1%, 0%, 29%)
CIE-LABlab(35.49, 27.37, -59.95)
CIE-LCHlch(35.49, 65.90, 294.54°)
OKLaboklab(45.42% -0.0096 -0.1731)
OKLCHoklch(45.42% 0.173 266.8)
XYZxyz(11.7826, 8.7460, 44.7743)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4AB5 #B5962B
analogous
#2B8FB5 #2B4AB5 #512BB5
triadic
#2B4AB5 #B52B4A #4AB52B
tetradic
#2B4AB5 #B52B8F #B5962B #2BB551
square
#2B4AB5 #B52B8F #B5962B #2BB551
split-complementary
#2B4AB5 #B5512B #8FB52B
monochromatic
#142252 #1F3684 #2B4AB5 #4968D4 #7B91E0

Accessibility & contrast

On white

7.64
#2B4AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2B4AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4AB5
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4AB5#FFFFFF#000000##FFFFFF
##2B4AB51.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4ab5;
/* rgb */ color: rgb(43, 74, 181);
/* oklch */ color: oklch(45.4% 0.173 266.8);
Tailwind
colors: {
  custom: {
    50: '#797ccc',
    500: '#2b4ab5',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ab5;
$custom-light: #797ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ab5",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 181
  },
  "hsl": {
    "h": 226.522,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45418,
    "c": 0.17339,
    "h": 266.8
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#2B4AB5
secondary
#C8B574
accent
#C043E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2B4AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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