#2B4DBD#2B4DBD

#2B4DBD is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.180 H 266.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2B4DBD
RGBrgb(43, 77, 189)
HSLhsl(226, 63%, 45%)
HSVhsv(226, 77%, 74%)
CMYKcmyk(77.2%, 59.3%, 0%, 25.9%)
CIE-LABlab(36.92, 28.41, -62.33)
CIE-LCHlch(36.92, 68.50, 294.50°)
OKLaboklab(46.69% -0.0114 -0.1801)
OKLCHoklch(46.69% 0.18 266.4)
XYZxyz(12.8322, 9.4940, 49.2905)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DBD #BD9B2B
analogous
#2B96BD #2B4DBD #522BBD
triadic
#2B4DBD #BD2B4D #4DBD2B
tetradic
#2B4DBD #BD2B96 #BD9B2B #2BBD52
square
#2B4DBD #BD2B96 #BD9B2B #2BBD52
split-complementary
#2B4DBD #BD522B #96BD2B
monochromatic
#142459 #20398B #2B4DBD #4E6ED7 #8097E2

Accessibility & contrast

On white

7.24
#2B4DBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2B4DBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4DBD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DBD#FFFFFF#000000##FFFFFF
##2B4DBD1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4dbd;
/* rgb */ color: rgb(43, 77, 189);
/* oklch */ color: oklch(46.7% 0.180 266.4);
Tailwind
colors: {
  custom: {
    50: '#7b7ed2',
    500: '#2b4dbd',
    950: '#000000',
  },
}
SCSS
$custom: #2b4dbd;
$custom-light: #7b7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4dbd",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 189
  },
  "hsl": {
    "h": 226.027,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46686,
    "c": 0.18042,
    "h": 266.4
  },
  "luminance": 0.09495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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