#2B4E80#2B4E80

#2B4E80 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.3% C 0.093 H 257.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2B4E80
RGBrgb(43, 78, 128)
HSLhsl(215, 50%, 34%)
HSVhsv(215, 66%, 50%)
CMYKcmyk(66.4%, 39.1%, 0%, 49.8%)
CIE-LABlab(32.96, 4.51, -31.99)
CIE-LCHlch(32.96, 32.30, 278.02°)
OKLaboklab(42.32% -0.0202 -0.0909)
OKLCHoklch(42.32% 0.093 257.5)
XYZxyz(7.6155, 7.5202, 21.4681)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E80 #805D2B
analogous
#2B7880 #2B4E80 #322B80
triadic
#2B4E80 #802B4E #4E802B
tetradic
#2B4E80 #802B78 #805D2B #2B8032
square
#2B4E80 #802B78 #805D2B #2B8032
split-complementary
#2B4E80 #80322B #78802B
monochromatic
#0C1624 #1C3252 #2B4E80 #3A6AAE #5D89C9

Accessibility & contrast

On white

8.39
#2B4E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2B4E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E80
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E80#FFFFFF#000000##FFFFFF
##2B4E801.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385282
Deuteranopia (green-blind)
#2C4A7F
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4e80;
/* rgb */ color: rgb(43, 78, 128);
/* oklch */ color: oklch(42.3% 0.093 257.5);
Tailwind
colors: {
  custom: {
    50: '#6e7fa5',
    500: '#2b4e80',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e80;
$custom-light: #6e7fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e80",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 128
  },
  "hsl": {
    "h": 215.294,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42324,
    "c": 0.09309,
    "h": 257.5
  },
  "luminance": 0.07521
}

Semantic roles & 50–950 ramp

primary
#2B4E80
secondary
#AE8B58
accent
#A04FD9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B4E80

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

Preview Lab → · Contrast checker → · Palette generator →

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