#2B4BC4#2B4BC4

#2B4BC4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.9% C 0.192 H 267.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2B4BC4
RGBrgb(43, 75, 196)
HSLhsl(227, 64%, 47%)
HSVhsv(227, 78%, 77%)
CMYKcmyk(78.1%, 61.7%, 0%, 23.1%)
CIE-LABlab(36.98, 32.32, -66.31)
CIE-LCHlch(36.98, 73.77, 295.98°)
OKLaboklab(46.91% -0.0101 -0.1918)
OKLCHoklch(46.91% 0.192 267)
XYZxyz(13.4727, 9.5297, 53.3432)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BC4 #C4A42B
analogous
#2B98C4 #2B4BC4 #582BC4
triadic
#2B4BC4 #C42B4B #4BC42B
tetradic
#2B4BC4 #C42B98 #C4A42B #2BC458
square
#2B4BC4 #C42B98 #C4A42B #2BC458
split-complementary
#2B4BC4 #C4582B #98C42B
monochromatic
#152560 #203892 #2B4BC4 #536FD9 #8599E4

Accessibility & contrast

On white

7.23
#2B4BC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2B4BC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4BC4
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BC4#FFFFFF#000000##FFFFFF
##2B4BC41.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0050C2
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b4bc4;
/* rgb */ color: rgb(43, 75, 196);
/* oklch */ color: oklch(46.9% 0.192 267.0);
Tailwind
colors: {
  custom: {
    50: '#7d7dd7',
    500: '#2b4bc4',
    950: '#000000',
  },
}
SCSS
$custom: #2b4bc4;
$custom-light: #7d7dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4bc4",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 227.451,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46914,
    "c": 0.19204,
    "h": 267
  },
  "luminance": 0.09531
}

Semantic roles & 50–950 ramp

primary
#2B4BC4
secondary
#CEBD7D
accent
#C441E7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2B4BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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