#2B4AB7#2B4AB7

#2B4AB7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.176 H 266.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2B4AB7
RGBrgb(43, 74, 183)
HSLhsl(227, 62%, 44%)
HSVhsv(227, 77%, 72%)
CMYKcmyk(76.5%, 59.6%, 0%, 28.2%)
CIE-LABlab(35.65, 28.12, -60.87)
CIE-LCHlch(35.65, 67.05, 294.80°)
OKLaboklab(45.59% -0.0095 -0.1758)
OKLCHoklch(45.59% 0.176 266.9)
XYZxyz(11.9893, 8.8287, 45.8628)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4AB7 #B7982B
analogous
#2B90B7 #2B4AB7 #522BB7
triadic
#2B4AB7 #B72B4A #4AB72B
tetradic
#2B4AB7 #B72B90 #B7982B #2BB752
square
#2B4AB7 #B72B90 #B7982B #2BB752
split-complementary
#2B4AB7 #B7522B #90B72B
monochromatic
#142254 #1F3685 #2B4AB7 #4B69D5 #7C92E0

Accessibility & contrast

On white

7.59
#2B4AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2B4AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4AB7
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4AB7#FFFFFF#000000##FFFFFF
##2B4AB71.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4ab7;
/* rgb */ color: rgb(43, 74, 183);
/* oklch */ color: oklch(45.6% 0.176 266.9);
Tailwind
colors: {
  custom: {
    50: '#7a7ccd',
    500: '#2b4ab7',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ab7;
$custom-light: #7a7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ab7",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 183
  },
  "hsl": {
    "h": 226.714,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4559,
    "c": 0.17607,
    "h": 266.9
  },
  "luminance": 0.0883
}

Semantic roles & 50–950 ramp

primary
#2B4AB7
secondary
#C9B675
accent
#C143E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2B4AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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