#2B4DB6#2B4DB6

#2B4DB6 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.171 H 266.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2B4DB6
RGBrgb(43, 77, 182)
HSLhsl(225, 62%, 44%)
HSVhsv(225, 76%, 71%)
CMYKcmyk(76.4%, 57.7%, 0%, 28.6%)
CIE-LABlab(36.36, 25.77, -59.12)
CIE-LCHlch(36.36, 64.49, 293.55°)
OKLaboklab(46.1% -0.0116 -0.1706)
OKLCHoklch(46.1% 0.171 266.1)
XYZxyz(12.0907, 9.1974, 45.3850)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DB6 #B6942B
analogous
#2B93B6 #2B4DB6 #4F2BB6
triadic
#2B4DB6 #B62B4D #4DB62B
tetradic
#2B4DB6 #B62B93 #B6942B #2BB64F
square
#2B4DB6 #B62B93 #B6942B #2BB64F
split-complementary
#2B4DB6 #B64F2B #93B62B
monochromatic
#142353 #1F3884 #2B4DB6 #4A6CD4 #7B94E0

Accessibility & contrast

On white

7.39
#2B4DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2B4DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4DB6
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DB6#FFFFFF#000000##FFFFFF
##2B4DB61.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b4db6;
/* rgb */ color: rgb(43, 77, 182);
/* oklch */ color: oklch(46.1% 0.171 266.1);
Tailwind
colors: {
  custom: {
    50: '#797ecd',
    500: '#2b4db6',
    950: '#000000',
  },
}
SCSS
$custom: #2b4db6;
$custom-light: #797ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4db6",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 182
  },
  "hsl": {
    "h": 225.324,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46095,
    "c": 0.17104,
    "h": 266.1
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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