#2B4CB4#2B4CB4

#2B4CB4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.170 H 266.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2B4CB4
RGBrgb(43, 76, 180)
HSLhsl(226, 61%, 44%)
HSVhsv(226, 76%, 71%)
CMYKcmyk(76.1%, 57.8%, 0%, 29.4%)
CIE-LABlab(35.94, 25.67, -58.63)
CIE-LCHlch(35.94, 64.00, 293.65°)
OKLaboklab(45.73% -0.011 -0.1692)
OKLCHoklch(45.73% 0.17 266.3)
XYZxyz(11.8160, 8.9765, 44.2811)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CB4 #B4932B
analogous
#2B90B4 #2B4CB4 #4E2BB4
triadic
#2B4CB4 #B42B4C #4CB42B
tetradic
#2B4CB4 #B42B90 #B4932B #2BB44E
square
#2B4CB4 #B42B90 #B4932B #2BB44E
split-complementary
#2B4CB4 #B44E2B #90B42B
monochromatic
#132251 #1F3783 #2B4CB4 #496AD3 #7A92DF

Accessibility & contrast

On white

7.51
#2B4CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2B4CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CB4
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CB4#FFFFFF#000000##FFFFFF
##2B4CB41.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b4cb4;
/* rgb */ color: rgb(43, 76, 180);
/* oklch */ color: oklch(45.7% 0.170 266.3);
Tailwind
colors: {
  custom: {
    50: '#797dcb',
    500: '#2b4cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2b4cb4;
$custom-light: #797dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4cb4",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 225.547,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45729,
    "c": 0.16957,
    "h": 266.3
  },
  "luminance": 0.08978
}

Semantic roles & 50–950 ramp

primary
#2B4CB4
secondary
#C7B373
accent
#BE43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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