#2B4981#2B4981

#2B4981 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.2% C 0.101 H 261.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2B4981
RGBrgb(43, 73, 129)
HSLhsl(219, 50%, 34%)
HSVhsv(219, 67%, 51%)
CMYKcmyk(66.7%, 43.4%, 0%, 49.4%)
CIE-LABlab(31.49, 8.21, -34.94)
CIE-LCHlch(31.49, 35.90, 283.22°)
OKLaboklab(41.2% -0.0144 -0.0996)
OKLCHoklch(41.2% 0.101 261.8)
XYZxyz(7.3399, 6.8630, 21.7025)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4981 #81632B
analogous
#2B7481 #2B4981 #382B81
triadic
#2B4981 #812B49 #49812B
tetradic
#2B4981 #812B74 #81632B #2B8138
square
#2B4981 #812B74 #81632B #2B8138
split-complementary
#2B4981 #81382B #74812B
monochromatic
#0C1525 #1C2F53 #2B4981 #3A63AF #5D83C9

Accessibility & contrast

On white

8.85
#2B4981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2B4981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4981
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4981#FFFFFF#000000##FFFFFF
##2B49811.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4E83
Deuteranopia (green-blind)
#224680
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4981;
/* rgb */ color: rgb(43, 73, 129);
/* oklch */ color: oklch(41.2% 0.101 261.8);
Tailwind
colors: {
  custom: {
    50: '#6e7ba6',
    500: '#2b4981',
    950: '#000000',
  },
}
SCSS
$custom: #2b4981;
$custom-light: #6e7ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4981",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 129
  },
  "hsl": {
    "h": 219.07,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41204,
    "c": 0.10065,
    "h": 261.8
  },
  "luminance": 0.06864
}

Semantic roles & 50–950 ramp

primary
#2B4981
secondary
#AF9159
accent
#A94EDA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B4981

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

Preview Lab → · Contrast checker → · Palette generator →

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