#2B4FBD#2B4FBD

#2B4FBD is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.178 H 265.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2B4FBD
RGBrgb(43, 79, 189)
HSLhsl(225, 63%, 45%)
HSVhsv(225, 77%, 74%)
CMYKcmyk(77.2%, 58.2%, 0%, 25.9%)
CIE-LABlab(37.44, 27.09, -61.48)
CIE-LCHlch(37.44, 67.18, 293.78°)
OKLaboklab(47.08% -0.0128 -0.1775)
OKLCHoklch(47.08% 0.178 265.9)
XYZxyz(12.9743, 9.7782, 49.3378)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FBD #BD992B
analogous
#2B98BD #2B4FBD #502BBD
triadic
#2B4FBD #BD2B4F #4FBD2B
tetradic
#2B4FBD #BD2B98 #BD992B #2BBD50
square
#2B4FBD #BD2B98 #BD992B #2BBD50
split-complementary
#2B4FBD #BD502B #98BD2B
monochromatic
#142559 #203A8B #2B4FBD #4E70D7 #8098E2

Accessibility & contrast

On white

7.10
#2B4FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2B4FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FBD
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FBD#FFFFFF#000000##FFFFFF
##2B4FBD1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b4fbd;
/* rgb */ color: rgb(43, 79, 189);
/* oklch */ color: oklch(47.1% 0.178 265.9);
Tailwind
colors: {
  custom: {
    50: '#7b7fd2',
    500: '#2b4fbd',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fbd;
$custom-light: #7b7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fbd",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 225.205,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47077,
    "c": 0.17799,
    "h": 265.9
  },
  "luminance": 0.0978
}

Semantic roles & 50–950 ramp

primary
#2B4FBD
secondary
#CBB779
accent
#BE42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B4FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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