#2B4D82#2B4D82

#2B4D82 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.2% C 0.097 H 259.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2B4D82
RGBrgb(43, 77, 130)
HSLhsl(217, 50%, 34%)
HSVhsv(217, 67%, 51%)
CMYKcmyk(66.9%, 40.8%, 0%, 49%)
CIE-LABlab(32.77, 5.92, -33.53)
CIE-LCHlch(32.77, 34.05, 280.01°)
OKLaboklab(42.21% -0.0186 -0.0954)
OKLCHoklch(42.21% 0.097 259)
XYZxyz(7.6780, 7.4323, 22.1447)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D82 #82602B
analogous
#2B7982 #2B4D82 #352B82
triadic
#2B4D82 #822B4D #4D822B
tetradic
#2B4D82 #822B79 #82602B #2B8235
square
#2B4D82 #822B79 #82602B #2B8235
split-complementary
#2B4D82 #82352B #79822B
monochromatic
#0D1726 #1C3254 #2B4D82 #3A68B0 #5E88CA

Accessibility & contrast

On white

8.45
#2B4D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2B4D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D82
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D82#FFFFFF#000000##FFFFFF
##2B4D821.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355184
Deuteranopia (green-blind)
#294981
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b4d82;
/* rgb */ color: rgb(43, 77, 130);
/* oklch */ color: oklch(42.2% 0.097 259.0);
Tailwind
colors: {
  custom: {
    50: '#6e7ea6',
    500: '#2b4d82',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d82;
$custom-light: #6e7ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d82",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 130
  },
  "hsl": {
    "h": 216.552,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42213,
    "c": 0.09719,
    "h": 259
  },
  "luminance": 0.07433
}

Semantic roles & 50–950 ramp

primary
#2B4D82
secondary
#B08E59
accent
#A34EDA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B4D82

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

Preview Lab → · Contrast checker → · Palette generator →

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