#2B4FB1#2B4FB1

#2B4FB1 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.162 H 265.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2B4FB1
RGBrgb(43, 79, 177)
HSLhsl(224, 61%, 43%)
HSVhsv(224, 76%, 69%)
CMYKcmyk(75.7%, 55.4%, 0%, 30.6%)
CIE-LABlab(36.52, 22.55, -55.92)
CIE-LCHlch(36.52, 60.29, 291.96°)
OKLaboklab(46.09% -0.0134 -0.1612)
OKLCHoklch(46.09% 0.162 265.2)
XYZxyz(11.7253, 9.2786, 42.7594)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FB1 #B18D2B
analogous
#2B92B1 #2B4FB1 #4A2BB1
triadic
#2B4FB1 #B12B4F #4FB12B
tetradic
#2B4FB1 #B12B92 #B18D2B #2BB14A
square
#2B4FB1 #B12B92 #B18D2B #2BB14A
split-complementary
#2B4FB1 #B14A2B #92B12B
monochromatic
#13234F #1F3980 #2B4FB1 #476CD2 #7894DE

Accessibility & contrast

On white

7.35
#2B4FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2B4FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FB1
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FB1#FFFFFF#000000##FFFFFF
##2B4FB11.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b4fb1;
/* rgb */ color: rgb(43, 79, 177);
/* oklch */ color: oklch(46.1% 0.162 265.2);
Tailwind
colors: {
  custom: {
    50: '#787fc9',
    500: '#2b4fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fb1;
$custom-light: #787fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fb1",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 223.881,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4609,
    "c": 0.16175,
    "h": 265.2
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#2B4FB1
secondary
#C6AF72
accent
#B944E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B4FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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