#2B4CB6#2B4CB6

#2B4CB6 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.172 H 266.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2B4CB6
RGBrgb(43, 76, 182)
HSLhsl(226, 62%, 44%)
HSVhsv(226, 76%, 71%)
CMYKcmyk(76.4%, 58.2%, 0%, 28.6%)
CIE-LABlab(36.10, 26.43, -59.55)
CIE-LCHlch(36.10, 65.15, 293.93°)
OKLaboklab(45.9% -0.0109 -0.1719)
OKLCHoklch(45.9% 0.172 266.4)
XYZxyz(12.0212, 9.0585, 45.3618)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CB6 #B6952B
analogous
#2B92B6 #2B4CB6 #4F2BB6
triadic
#2B4CB6 #B62B4C #4CB62B
tetradic
#2B4CB6 #B62B92 #B6952B #2BB64F
square
#2B4CB6 #B62B92 #B6952B #2BB64F
split-complementary
#2B4CB6 #B64F2B #92B62B
monochromatic
#142353 #1F3784 #2B4CB6 #4A6BD4 #7B93E0

Accessibility & contrast

On white

7.47
#2B4CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2B4CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CB6
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CB6#FFFFFF#000000##FFFFFF
##2B4CB61.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b4cb6;
/* rgb */ color: rgb(43, 76, 182);
/* oklch */ color: oklch(45.9% 0.172 266.4);
Tailwind
colors: {
  custom: {
    50: '#797dcd',
    500: '#2b4cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b4cb6;
$custom-light: #797dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4cb6",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 182
  },
  "hsl": {
    "h": 225.755,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45897,
    "c": 0.17227,
    "h": 266.4
  },
  "luminance": 0.0906
}

Semantic roles & 50–950 ramp

primary
#2B4CB6
secondary
#C8B475
accent
#BE43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2B4CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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