#2B4976#2B4976

#2B4976 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.5% C 0.084 H 258.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2B4976
RGBrgb(43, 73, 118)
HSLhsl(216, 47%, 32%)
HSVhsv(216, 64%, 46%)
CMYKcmyk(63.6%, 38.1%, 0%, 53.7%)
CIE-LABlab(30.85, 4.09, -29.11)
CIE-LCHlch(30.85, 29.40, 277.99°)
OKLaboklab(40.49% -0.0171 -0.0825)
OKLCHoklch(40.49% 0.084 258.3)
XYZxyz(6.6477, 6.5861, 18.0569)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4976 #76582B
analogous
#2B6F76 #2B4976 #332B76
triadic
#2B4976 #762B49 #49762B
tetradic
#2B4976 #762B6F #76582B #2B7633
square
#2B4976 #762B6F #76582B #2B7633
split-complementary
#2B4976 #76332B #6F762B
monochromatic
#0A121C #1B2D49 #2B4976 #3B65A3 #5983C2

Accessibility & contrast

On white

9.06
#2B4976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B4976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4976
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4976#FFFFFF#000000##FFFFFF
##2B49761.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364C78
Deuteranopia (green-blind)
#2C4575
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4976;
/* rgb */ color: rgb(43, 73, 118);
/* oklch */ color: oklch(40.5% 0.084 258.3);
Tailwind
colors: {
  custom: {
    50: '#6c7b9e',
    500: '#2b4976',
    950: '#000000',
  },
}
SCSS
$custom: #2b4976;
$custom-light: #6c7b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4976",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 118
  },
  "hsl": {
    "h": 216,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40491,
    "c": 0.08428,
    "h": 258.3
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#2B4976
secondary
#A88755
accent
#A152D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2B4976

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

Preview Lab → · Contrast checker → · Palette generator →

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