#2B4CB7#2B4CB7

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

Color values

HEX#2B4CB7
RGBrgb(43, 76, 183)
HSLhsl(226, 62%, 44%)
HSVhsv(226, 77%, 72%)
CMYKcmyk(76.5%, 58.5%, 0%, 28.2%)
CIE-LABlab(36.18, 26.80, -60.01)
CIE-LCHlch(36.18, 65.73, 294.07°)
OKLaboklab(45.98% -0.0109 -0.1733)
OKLCHoklch(45.98% 0.174 266.4)
XYZxyz(12.1249, 9.1000, 45.9080)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CB7 #B7962B
analogous
#2B92B7 #2B4CB7 #502BB7
triadic
#2B4CB7 #B72B4C #4CB72B
tetradic
#2B4CB7 #B72B92 #B7962B #2BB750
square
#2B4CB7 #B72B92 #B7962B #2BB750
split-complementary
#2B4CB7 #B7502B #92B72B
monochromatic
#142354 #1F3785 #2B4CB7 #4B6BD5 #7C94E0

Accessibility & contrast

On white

7.45
#2B4CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2B4CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CB7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CB7#FFFFFF#000000##FFFFFF
##2B4CB71.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b4cb7;
/* rgb */ color: rgb(43, 76, 183);
/* oklch */ color: oklch(46.0% 0.174 266.4);
Tailwind
colors: {
  custom: {
    50: '#7a7dcd',
    500: '#2b4cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2b4cb7;
$custom-light: #7a7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4cb7",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 225.857,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45981,
    "c": 0.17361,
    "h": 266.4
  },
  "luminance": 0.09101
}

Semantic roles & 50–950 ramp

primary
#2B4CB7
secondary
#C9B575
accent
#BF43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2B4CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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