#2B4CBC#2B4CBC

#2B4CBC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.180 H 266.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2B4CBC
RGBrgb(43, 76, 188)
HSLhsl(226, 63%, 45%)
HSVhsv(226, 77%, 74%)
CMYKcmyk(77.1%, 59.6%, 0%, 26.3%)
CIE-LABlab(36.58, 28.68, -62.30)
CIE-LCHlch(36.58, 68.58, 294.72°)
OKLaboklab(46.41% -0.0108 -0.18)
OKLCHoklch(46.41% 0.18 266.6)
XYZxyz(12.6546, 9.3119, 48.6976)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CBC #BC9B2B
analogous
#2B94BC #2B4CBC #522BBC
triadic
#2B4CBC #BC2B4C #4CBC2B
tetradic
#2B4CBC #BC2B94 #BC9B2B #2BBC52
square
#2B4CBC #BC2B94 #BC9B2B #2BBC52
split-complementary
#2B4CBC #BC522B #94BC2B
monochromatic
#142458 #20388A #2B4CBC #4E6DD6 #8096E2

Accessibility & contrast

On white

7.34
#2B4CBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2B4CBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CBC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CBC#FFFFFF#000000##FFFFFF
##2B4CBC1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b4cbc;
/* rgb */ color: rgb(43, 76, 188);
/* oklch */ color: oklch(46.4% 0.180 266.6);
Tailwind
colors: {
  custom: {
    50: '#7b7dd1',
    500: '#2b4cbc',
    950: '#000000',
  },
}
SCSS
$custom: #2b4cbc;
$custom-light: #7b7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4cbc",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 226.345,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46406,
    "c": 0.1803,
    "h": 266.6
  },
  "luminance": 0.09313
}

Semantic roles & 50–950 ramp

primary
#2B4CBC
secondary
#CBB878
accent
#C142E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2B4CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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