#2B4EBC#2B4EBC

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

Color values

HEX#2B4EBC
RGBrgb(43, 78, 188)
HSLhsl(226, 63%, 45%)
HSVhsv(226, 77%, 74%)
CMYKcmyk(77.1%, 58.5%, 0%, 26.3%)
CIE-LABlab(37.10, 27.37, -61.45)
CIE-LCHlch(37.10, 67.27, 294.01°)
OKLaboklab(46.8% -0.0121 -0.1775)
OKLCHoklch(46.8% 0.178 266.1)
XYZxyz(12.7946, 9.5918, 48.7443)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EBC #BC992B
analogous
#2B97BC #2B4EBC #502BBC
triadic
#2B4EBC #BC2B4E #4EBC2B
tetradic
#2B4EBC #BC2B97 #BC992B #2BBC50
square
#2B4EBC #BC2B97 #BC992B #2BBC50
split-complementary
#2B4EBC #BC502B #97BC2B
monochromatic
#142558 #20398A #2B4EBC #4E6FD6 #8097E2

Accessibility & contrast

On white

7.20
#2B4EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2B4EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EBC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EBC#FFFFFF#000000##FFFFFF
##2B4EBC1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b4ebc;
/* rgb */ color: rgb(43, 78, 188);
/* oklch */ color: oklch(46.8% 0.178 266.1);
Tailwind
colors: {
  custom: {
    50: '#7b7fd1',
    500: '#2b4ebc',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ebc;
$custom-light: #7b7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ebc",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 225.517,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46796,
    "c": 0.17787,
    "h": 266.1
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

primary
#2B4EBC
secondary
#CBB778
accent
#BE42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2B4EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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