#2B4BB6#2B4BB6

#2B4BB6 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.173 H 266.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2B4BB6
RGBrgb(43, 75, 182)
HSLhsl(226, 62%, 44%)
HSVhsv(226, 76%, 71%)
CMYKcmyk(76.4%, 58.8%, 0%, 28.6%)
CIE-LABlab(35.83, 27.08, -59.98)
CIE-LCHlch(35.83, 65.81, 294.30°)
OKLaboklab(45.7% -0.0102 -0.1732)
OKLCHoklch(45.7% 0.174 266.6)
XYZxyz(11.9529, 8.9218, 45.3390)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BB6 #B6962B
analogous
#2B91B6 #2B4BB6 #512BB6
triadic
#2B4BB6 #B62B4B #4BB62B
tetradic
#2B4BB6 #B62B91 #B6962B #2BB651
square
#2B4BB6 #B62B91 #B6962B #2BB651
split-complementary
#2B4BB6 #B6512B #91B62B
monochromatic
#142253 #1F3784 #2B4BB6 #4A6AD4 #7B93E0

Accessibility & contrast

On white

7.54
#2B4BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2B4BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4BB6
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BB6#FFFFFF#000000##FFFFFF
##2B4BB61.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4bb6;
/* rgb */ color: rgb(43, 75, 182);
/* oklch */ color: oklch(45.7% 0.173 266.6);
Tailwind
colors: {
  custom: {
    50: '#797ccd',
    500: '#2b4bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b4bb6;
$custom-light: #797ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4bb6",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 226.187,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45699,
    "c": 0.1735,
    "h": 266.6
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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