#2B4AB3#2B4AB3

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

Color values

HEX#2B4AB3
RGBrgb(43, 74, 179)
HSLhsl(226, 61%, 44%)
HSVhsv(226, 76%, 70%)
CMYKcmyk(76%, 58.7%, 0%, 29.8%)
CIE-LABlab(35.33, 26.61, -59.03)
CIE-LCHlch(35.33, 64.75, 294.27°)
OKLaboklab(45.25% -0.0096 -0.1704)
OKLCHoklch(45.25% 0.171 266.8)
XYZxyz(11.5789, 8.6645, 43.7013)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4AB3 #B3942B
analogous
#2B8EB3 #2B4AB3 #502BB3
triadic
#2B4AB3 #B32B4A #4AB32B
tetradic
#2B4AB3 #B32B8E #B3942B #2BB350
square
#2B4AB3 #B32B8E #B3942B #2BB350
split-complementary
#2B4AB3 #B3502B #8EB32B
monochromatic
#132150 #1F3682 #2B4AB3 #4868D3 #7991DF

Accessibility & contrast

On white

7.68
#2B4AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2B4AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4AB3
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4AB3#FFFFFF#000000##FFFFFF
##2B4AB31.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b4ab3;
/* rgb */ color: rgb(43, 74, 179);
/* oklch */ color: oklch(45.2% 0.171 266.8);
Tailwind
colors: {
  custom: {
    50: '#797ccb',
    500: '#2b4ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ab3;
$custom-light: #797ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ab3",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 179
  },
  "hsl": {
    "h": 226.324,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45248,
    "c": 0.17068,
    "h": 266.8
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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