#2B4BB9#2B4BB9

#2B4BB9 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.178 H 266.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2B4BB9
RGBrgb(43, 75, 185)
HSLhsl(226, 62%, 45%)
HSVhsv(226, 77%, 73%)
CMYKcmyk(76.8%, 59.5%, 0%, 27.5%)
CIE-LABlab(36.08, 28.21, -61.35)
CIE-LCHlch(36.08, 67.53, 294.69°)
OKLaboklab(45.96% -0.0102 -0.1772)
OKLCHoklch(45.96% 0.178 266.7)
XYZxyz(12.2662, 9.0472, 46.9893)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BB9 #B9992B
analogous
#2B92B9 #2B4BB9 #522BB9
triadic
#2B4BB9 #B92B4B #4BB92B
tetradic
#2B4BB9 #B92B92 #B9992B #2BB952
square
#2B4BB9 #B92B92 #B9992B #2BB952
split-complementary
#2B4BB9 #B9522B #92B92B
monochromatic
#142356 #1F3787 #2B4BB9 #4C6BD5 #7E94E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4BB9#FFFFFF#000000##FFFFFF
##2B4BB91.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)
#005CBD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b4bb9;
/* rgb */ color: rgb(43, 75, 185);
/* oklch */ color: oklch(46.0% 0.178 266.7);
Tailwind
colors: {
  custom: {
    50: '#7a7ccf',
    500: '#2b4bb9',
    950: '#000000',
  },
}
SCSS
$custom: #2b4bb9;
$custom-light: #7a7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4bb9",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 226.479,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45955,
    "c": 0.17752,
    "h": 266.7
  },
  "luminance": 0.09049
}

Semantic roles & 50–950 ramp

primary
#2B4BB9
secondary
#C9B776
accent
#C142E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2B4BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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