#2B4BB7#2B4BB7

#2B4BB7 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.175 H 266.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2B4BB7
RGBrgb(43, 75, 183)
HSLhsl(226, 62%, 44%)
HSVhsv(226, 77%, 72%)
CMYKcmyk(76.5%, 59%, 0%, 28.2%)
CIE-LABlab(35.91, 27.46, -60.44)
CIE-LCHlch(35.91, 66.39, 294.44°)
OKLaboklab(45.78% -0.0102 -0.1745)
OKLCHoklch(45.78% 0.175 266.6)
XYZxyz(12.0566, 8.9633, 45.8852)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BB7 #B7972B
analogous
#2B91B7 #2B4BB7 #512BB7
triadic
#2B4BB7 #B72B4B #4BB72B
tetradic
#2B4BB7 #B72B91 #B7972B #2BB751
square
#2B4BB7 #B72B91 #B7972B #2BB751
split-complementary
#2B4BB7 #B7512B #91B72B
monochromatic
#142254 #1F3785 #2B4BB7 #4B6AD5 #7C93E0

Accessibility & contrast

On white

7.52
#2B4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2B4BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4BB7
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BB7#FFFFFF#000000##FFFFFF
##2B4BB71.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4bb7;
/* rgb */ color: rgb(43, 75, 183);
/* oklch */ color: oklch(45.8% 0.175 266.6);
Tailwind
colors: {
  custom: {
    50: '#7a7ccd',
    500: '#2b4bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2b4bb7;
$custom-light: #7a7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4bb7",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 226.286,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45784,
    "c": 0.17485,
    "h": 266.6
  },
  "luminance": 0.08965
}

Semantic roles & 50–950 ramp

primary
#2B4BB7
secondary
#C9B675
accent
#C043E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2B4BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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