#2B4BB3#2B4BB3

#2B4BB3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.169 H 266.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2B4BB3
RGBrgb(43, 75, 179)
HSLhsl(226, 61%, 44%)
HSVhsv(226, 76%, 70%)
CMYKcmyk(76%, 58.1%, 0%, 29.8%)
CIE-LABlab(35.59, 25.95, -58.60)
CIE-LCHlch(35.59, 64.09, 293.89°)
OKLaboklab(45.45% -0.0103 -0.1691)
OKLCHoklch(45.45% 0.169 266.5)
XYZxyz(11.6462, 8.7991, 43.7237)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BB3 #B3932B
analogous
#2B8FB3 #2B4BB3 #4F2BB3
triadic
#2B4BB3 #B32B4B #4BB32B
tetradic
#2B4BB3 #B32B8F #B3932B #2BB34F
square
#2B4BB3 #B32B8F #B3932B #2BB34F
split-complementary
#2B4BB3 #B34F2B #8FB32B
monochromatic
#132250 #1F3682 #2B4BB3 #4869D3 #7991DF

Accessibility & contrast

On white

7.61
#2B4BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2B4BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4BB3
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BB3#FFFFFF#000000##FFFFFF
##2B4BB31.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4bb3;
/* rgb */ color: rgb(43, 75, 179);
/* oklch */ color: oklch(45.4% 0.169 266.5);
Tailwind
colors: {
  custom: {
    50: '#797ccb',
    500: '#2b4bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2b4bb3;
$custom-light: #797ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4bb3",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 225.882,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45446,
    "c": 0.16945,
    "h": 266.5
  },
  "luminance": 0.088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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