#2B4E82#2B4E82

#2B4E82 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.5% C 0.096 H 258.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2B4E82
RGBrgb(43, 78, 130)
HSLhsl(216, 50%, 34%)
HSVhsv(216, 67%, 51%)
CMYKcmyk(66.9%, 40%, 0%, 49%)
CIE-LABlab(33.08, 5.26, -33.04)
CIE-LCHlch(33.08, 33.46, 279.04°)
OKLaboklab(42.45% -0.0197 -0.094)
OKLCHoklch(42.45% 0.096 258.2)
XYZxyz(7.7485, 7.5733, 22.1682)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E82 #825F2B
analogous
#2B7A82 #2B4E82 #342B82
triadic
#2B4E82 #822B4E #4E822B
tetradic
#2B4E82 #822B7A #825F2B #2B8234
square
#2B4E82 #822B7A #825F2B #2B8234
split-complementary
#2B4E82 #82342B #7A822B
monochromatic
#0D1726 #1C3254 #2B4E82 #3A6AB0 #5E89CA

Accessibility & contrast

On white

8.35
#2B4E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2B4E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E82
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E82#FFFFFF#000000##FFFFFF
##2B4E821.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375284
Deuteranopia (green-blind)
#2A4A81
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4e82;
/* rgb */ color: rgb(43, 78, 130);
/* oklch */ color: oklch(42.5% 0.096 258.2);
Tailwind
colors: {
  custom: {
    50: '#6e7fa6',
    500: '#2b4e82',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e82;
$custom-light: #6e7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e82",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 215.862,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42451,
    "c": 0.096,
    "h": 258.2
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#2B4E82
secondary
#B08D59
accent
#A24EDA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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