#2B4E81#2B4E81

#2B4E81 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.095 H 257.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2B4E81
RGBrgb(43, 78, 129)
HSLhsl(216, 50%, 34%)
HSVhsv(216, 67%, 51%)
CMYKcmyk(66.7%, 39.5%, 0%, 49.4%)
CIE-LABlab(33.02, 4.88, -32.51)
CIE-LCHlch(33.02, 32.88, 278.54°)
OKLaboklab(42.39% -0.0199 -0.0924)
OKLCHoklch(42.39% 0.095 257.8)
XYZxyz(7.6817, 7.5466, 21.8164)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E81 #815E2B
analogous
#2B7981 #2B4E81 #332B81
triadic
#2B4E81 #812B4E #4E812B
tetradic
#2B4E81 #812B79 #815E2B #2B8133
square
#2B4E81 #812B79 #815E2B #2B8133
split-complementary
#2B4E81 #81332B #79812B
monochromatic
#0C1625 #1C3253 #2B4E81 #3A6AAF #5D89C9

Accessibility & contrast

On white

8.37
#2B4E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4E81
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E81#FFFFFF#000000##FFFFFF
##2B4E811.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4e81;
/* rgb */ color: rgb(43, 78, 129);
/* oklch */ color: oklch(42.4% 0.095 257.8);
Tailwind
colors: {
  custom: {
    50: '#6e7fa6',
    500: '#2b4e81',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e81;
$custom-light: #6e7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e81",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 129
  },
  "hsl": {
    "h": 215.581,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42387,
    "c": 0.09455,
    "h": 257.8
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

primary
#2B4E81
secondary
#AF8C59
accent
#A14EDA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B4E81

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

Preview Lab → · Contrast checker → · Palette generator →

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