#2B4784#2B4784

#2B4784 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.108 H 263.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2B4784
RGBrgb(43, 71, 132)
HSLhsl(221, 51%, 34%)
HSVhsv(221, 67%, 52%)
CMYKcmyk(67.4%, 46.2%, 0%, 48.2%)
CIE-LABlab(31.08, 10.70, -37.46)
CIE-LCHlch(31.08, 38.96, 285.94°)
OKLaboklab(40.95% -0.0117 -0.107)
OKLCHoklch(40.95% 0.108 263.8)
XYZxyz(7.4129, 6.6853, 22.7251)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4784 #84682B
analogous
#2B7484 #2B4784 #3C2B84
triadic
#2B4784 #842B47 #47842B
tetradic
#2B4784 #842B74 #84682B #2B843C
square
#2B4784 #842B74 #84682B #2B843C
split-complementary
#2B4784 #843C2B #74842B
monochromatic
#0D1528 #1C2E56 #2B4784 #3A60B2 #5F81CB

Accessibility & contrast

On white

8.99
#2B4784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2B4784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4784
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4784#FFFFFF#000000##FFFFFF
##2B47841.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4E86
Deuteranopia (green-blind)
#1A4583
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4784;
/* rgb */ color: rgb(43, 71, 132);
/* oklch */ color: oklch(40.9% 0.108 263.8);
Tailwind
colors: {
  custom: {
    50: '#6e79a8',
    500: '#2b4784',
    950: '#000000',
  },
}
SCSS
$custom: #2b4784;
$custom-light: #6e79a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4784",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 132
  },
  "hsl": {
    "h": 221.124,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40946,
    "c": 0.10768,
    "h": 263.8
  },
  "luminance": 0.06686
}

Semantic roles & 50–950 ramp

primary
#2B4784
secondary
#B1955A
accent
#AE4DDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4784

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

Preview Lab → · Contrast checker → · Palette generator →

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