#2B4BBD#2B4BBD

#2B4BBD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.183 H 266.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2B4BBD
RGBrgb(43, 75, 189)
HSLhsl(227, 63%, 45%)
HSVhsv(227, 77%, 74%)
CMYKcmyk(77.2%, 60.3%, 0%, 25.9%)
CIE-LABlab(36.40, 29.71, -63.17)
CIE-LCHlch(36.40, 69.81, 295.19°)
OKLaboklab(46.3% -0.0101 -0.1826)
OKLCHoklch(46.3% 0.183 266.8)
XYZxyz(12.6944, 9.2184, 49.2445)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BBD #BD9D2B
analogous
#2B94BD #2B4BBD #542BBD
triadic
#2B4BBD #BD2B4B #4BBD2B
tetradic
#2B4BBD #BD2B94 #BD9D2B #2BBD54
square
#2B4BBD #BD2B94 #BD9D2B #2BBD54
split-complementary
#2B4BBD #BD542B #94BD2B
monochromatic
#142359 #20378B #2B4BBD #4E6CD7 #8096E2

Accessibility & contrast

On white

7.38
#2B4BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2B4BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4BBD
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BBD#FFFFFF#000000##FFFFFF
##2B4BBD1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b4bbd;
/* rgb */ color: rgb(43, 75, 189);
/* oklch */ color: oklch(46.3% 0.183 266.8);
Tailwind
colors: {
  custom: {
    50: '#7b7cd2',
    500: '#2b4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #2b4bbd;
$custom-light: #7b7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4bbd",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 226.849,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.463,
    "c": 0.18284,
    "h": 266.8
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#2B4BBD
secondary
#CBB979
accent
#C242E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2B4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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