#2B4CBD#2B4CBD

#2B4CBD is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.182 H 266.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2B4CBD
RGBrgb(43, 76, 189)
HSLhsl(226, 63%, 45%)
HSVhsv(226, 77%, 74%)
CMYKcmyk(77.2%, 59.8%, 0%, 25.9%)
CIE-LABlab(36.66, 29.06, -62.75)
CIE-LCHlch(36.66, 69.15, 294.85°)
OKLaboklab(46.49% -0.0108 -0.1813)
OKLCHoklch(46.49% 0.182 266.6)
XYZxyz(12.7628, 9.3552, 49.2673)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CBD #BD9C2B
analogous
#2B95BD #2B4CBD #532BBD
triadic
#2B4CBD #BD2B4C #4CBD2B
tetradic
#2B4CBD #BD2B95 #BD9C2B #2BBD53
square
#2B4CBD #BD2B95 #BD9C2B #2BBD53
split-complementary
#2B4CBD #BD532B #95BD2B
monochromatic
#142459 #20388B #2B4CBD #4E6DD7 #8096E2

Accessibility & contrast

On white

7.31
#2B4CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2B4CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CBD
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CBD#FFFFFF#000000##FFFFFF
##2B4CBD1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b4cbd;
/* rgb */ color: rgb(43, 76, 189);
/* oklch */ color: oklch(46.5% 0.182 266.6);
Tailwind
colors: {
  custom: {
    50: '#7b7dd2',
    500: '#2b4cbd',
    950: '#000000',
  },
}
SCSS
$custom: #2b4cbd;
$custom-light: #7b7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4cbd",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 226.438,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46492,
    "c": 0.18164,
    "h": 266.6
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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