#2B4CB5#2B4CB5

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

Color values

HEX#2B4CB5
RGBrgb(43, 76, 181)
HSLhsl(226, 62%, 44%)
HSVhsv(226, 76%, 71%)
CMYKcmyk(76.2%, 58%, 0%, 29%)
CIE-LABlab(36.02, 26.05, -59.09)
CIE-LCHlch(36.02, 64.58, 293.79°)
OKLaboklab(45.81% -0.011 -0.1706)
OKLCHoklch(45.81% 0.171 266.3)
XYZxyz(11.9183, 9.0173, 44.8195)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CB5 #B5942B
analogous
#2B91B5 #2B4CB5 #4F2BB5
triadic
#2B4CB5 #B52B4C #4CB52B
tetradic
#2B4CB5 #B52B91 #B5942B #2BB54F
square
#2B4CB5 #B52B91 #B5942B #2BB54F
split-complementary
#2B4CB5 #B54F2B #91B52B
monochromatic
#142252 #1F3784 #2B4CB5 #496AD4 #7B93E0

Accessibility & contrast

On white

7.49
#2B4CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2B4CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CB5
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CB5#FFFFFF#000000##FFFFFF
##2B4CB51.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b4cb5;
/* rgb */ color: rgb(43, 76, 181);
/* oklch */ color: oklch(45.8% 0.171 266.3);
Tailwind
colors: {
  custom: {
    50: '#797dcc',
    500: '#2b4cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2b4cb5;
$custom-light: #797dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4cb5",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 225.652,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45813,
    "c": 0.17092,
    "h": 266.3
  },
  "luminance": 0.09019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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