#2B4CB2#2B4CB2

#2B4CB2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.167 H 266.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2B4CB2
RGBrgb(43, 76, 178)
HSLhsl(225, 61%, 43%)
HSVhsv(225, 76%, 70%)
CMYKcmyk(75.8%, 57.3%, 0%, 30.2%)
CIE-LABlab(35.78, 24.91, -57.70)
CIE-LCHlch(35.78, 62.85, 293.35°)
OKLaboklab(45.56% -0.0111 -0.1665)
OKLCHoklch(45.56% 0.167 266.2)
XYZxyz(11.6138, 8.8955, 43.2158)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CB2 #B2912B
analogous
#2B8FB2 #2B4CB2 #4D2BB2
triadic
#2B4CB2 #B22B4C #4CB22B
tetradic
#2B4CB2 #B22B8F #B2912B #2BB24D
square
#2B4CB2 #B22B8F #B2912B #2BB24D
split-complementary
#2B4CB2 #B24D2B #8FB22B
monochromatic
#13224F #1F3781 #2B4CB2 #486AD3 #7992DF

Accessibility & contrast

On white

7.56
#2B4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2B4CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CB2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CB2#FFFFFF#000000##FFFFFF
##2B4CB21.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4cb2;
/* rgb */ color: rgb(43, 76, 178);
/* oklch */ color: oklch(45.6% 0.167 266.2);
Tailwind
colors: {
  custom: {
    50: '#787dca',
    500: '#2b4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #2b4cb2;
$custom-light: #787dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4cb2",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 225.333,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45562,
    "c": 0.16685,
    "h": 266.2
  },
  "luminance": 0.08897
}

Semantic roles & 50–950 ramp

primary
#2B4CB2
secondary
#C7B272
accent
#BD44E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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