#2B4AB6#2B4AB6

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

Color values

HEX#2B4AB6
RGBrgb(43, 74, 182)
HSLhsl(227, 62%, 44%)
HSVhsv(227, 76%, 71%)
CMYKcmyk(76.4%, 59.3%, 0%, 28.6%)
CIE-LABlab(35.57, 27.74, -60.41)
CIE-LCHlch(35.57, 66.47, 294.67°)
OKLaboklab(45.5% -0.0096 -0.1745)
OKLCHoklch(45.5% 0.175 266.9)
XYZxyz(11.8856, 8.7872, 45.3166)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4AB6 #B6972B
analogous
#2B90B6 #2B4AB6 #522BB6
triadic
#2B4AB6 #B62B4A #4AB62B
tetradic
#2B4AB6 #B62B90 #B6972B #2BB652
square
#2B4AB6 #B62B90 #B6972B #2BB652
split-complementary
#2B4AB6 #B6522B #90B62B
monochromatic
#142253 #1F3684 #2B4AB6 #4A69D4 #7B92E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4AB6#FFFFFF#000000##FFFFFF
##2B4AB61.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)
#005ABA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4ab6;
/* rgb */ color: rgb(43, 74, 182);
/* oklch */ color: oklch(45.5% 0.175 266.9);
Tailwind
colors: {
  custom: {
    50: '#797ccd',
    500: '#2b4ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ab6;
$custom-light: #797ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ab6",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 182
  },
  "hsl": {
    "h": 226.619,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.17473,
    "h": 266.9
  },
  "luminance": 0.08789
}

Semantic roles & 50–950 ramp

primary
#2B4AB6
secondary
#C8B675
accent
#C143E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2B4AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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