#2B4EBD#2B4EBD

#2B4EBD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.179 H 266.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2B4EBD
RGBrgb(43, 78, 189)
HSLhsl(226, 63%, 45%)
HSVhsv(226, 77%, 74%)
CMYKcmyk(77.2%, 58.7%, 0%, 25.9%)
CIE-LABlab(37.18, 27.75, -61.90)
CIE-LCHlch(37.18, 67.84, 294.15°)
OKLaboklab(46.88% -0.0121 -0.1788)
OKLCHoklch(46.88% 0.179 266.1)
XYZxyz(12.9027, 9.6350, 49.3140)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EBD #BD9A2B
analogous
#2B97BD #2B4EBD #512BBD
triadic
#2B4EBD #BD2B4E #4EBD2B
tetradic
#2B4EBD #BD2B97 #BD9A2B #2BBD51
square
#2B4EBD #BD2B97 #BD9A2B #2BBD51
split-complementary
#2B4EBD #BD512B #97BD2B
monochromatic
#142559 #20398B #2B4EBD #4E6FD7 #8098E2

Accessibility & contrast

On white

7.17
#2B4EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2B4EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EBD
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EBD#FFFFFF#000000##FFFFFF
##2B4EBD1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b4ebd;
/* rgb */ color: rgb(43, 78, 189);
/* oklch */ color: oklch(46.9% 0.179 266.1);
Tailwind
colors: {
  custom: {
    50: '#7b7fd2',
    500: '#2b4ebd',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ebd;
$custom-light: #7b7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ebd",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 225.616,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46881,
    "c": 0.17921,
    "h": 266.1
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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