#2B4884#2B4884

#2B4884 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.106 H 263.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2B4884
RGBrgb(43, 72, 132)
HSLhsl(220, 51%, 34%)
HSVhsv(220, 67%, 52%)
CMYKcmyk(67.4%, 45.5%, 0%, 48.2%)
CIE-LABlab(31.38, 10.02, -36.98)
CIE-LCHlch(31.38, 38.32, 285.16°)
OKLaboklab(41.18% -0.0128 -0.1056)
OKLCHoklch(41.18% 0.106 263.1)
XYZxyz(7.4770, 6.8136, 22.7464)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4884 #84672B
analogous
#2B7584 #2B4884 #3A2B84
triadic
#2B4884 #842B48 #48842B
tetradic
#2B4884 #842B75 #84672B #2B843A
square
#2B4884 #842B75 #84672B #2B843A
split-complementary
#2B4884 #843A2B #75842B
monochromatic
#0D1628 #1C2F56 #2B4884 #3A61B2 #5F82CB

Accessibility & contrast

On white

8.89
#2B4884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2B4884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4884
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4884#FFFFFF#000000##FFFFFF
##2B48841.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E86
Deuteranopia (green-blind)
#1D4683
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4884;
/* rgb */ color: rgb(43, 72, 132);
/* oklch */ color: oklch(41.2% 0.106 263.1);
Tailwind
colors: {
  custom: {
    50: '#6e7aa8',
    500: '#2b4884',
    950: '#000000',
  },
}
SCSS
$custom: #2b4884;
$custom-light: #6e7aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4884",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 132
  },
  "hsl": {
    "h": 220.449,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41176,
    "c": 0.10639,
    "h": 263.1
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#2B4884
secondary
#B1945A
accent
#AC4DDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B4884

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

Preview Lab → · Contrast checker → · Palette generator →

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