#2B4EC3#2B4EC3

#2B4EC3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.187 H 266.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2B4EC3
RGBrgb(43, 78, 195)
HSLhsl(226, 64%, 47%)
HSVhsv(226, 78%, 76%)
CMYKcmyk(77.9%, 60%, 0%, 23.5%)
CIE-LABlab(37.66, 30.00, -64.62)
CIE-LCHlch(37.66, 71.24, 294.90°)
OKLaboklab(47.39% -0.0119 -0.1868)
OKLCHoklch(47.39% 0.187 266.3)
XYZxyz(13.5675, 9.9009, 52.8152)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EC3 #C3A02B
analogous
#2B9AC3 #2B4EC3 #542BC3
triadic
#2B4EC3 #C32B4E #4EC32B
tetradic
#2B4EC3 #C32B9A #C3A02B #2BC354
square
#2B4EC3 #C32B9A #C3A02B #2BC354
split-complementary
#2B4EC3 #C3542B #9AC32B
monochromatic
#15265F #203A91 #2B4EC3 #5271D9 #849AE4

Accessibility & contrast

On white

7.05
#2B4EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2B4EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EC3
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EC3#FFFFFF#000000##FFFFFF
##2B4EC31.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b4ec3;
/* rgb */ color: rgb(43, 78, 195);
/* oklch */ color: oklch(47.4% 0.187 266.3);
Tailwind
colors: {
  custom: {
    50: '#7c7fd6',
    500: '#2b4ec3',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ec3;
$custom-light: #7c7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ec3",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 195
  },
  "hsl": {
    "h": 226.184,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47393,
    "c": 0.18715,
    "h": 266.3
  },
  "luminance": 0.09903
}

Semantic roles & 50–950 ramp

primary
#2B4EC3
secondary
#CDBB7D
accent
#C141E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B4EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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