#2B4977#2B4977

#2B4977 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.086 H 258.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2B4977
RGBrgb(43, 73, 119)
HSLhsl(216, 47%, 32%)
HSVhsv(216, 64%, 47%)
CMYKcmyk(63.9%, 38.7%, 0%, 53.3%)
CIE-LABlab(30.90, 4.46, -29.65)
CIE-LCHlch(30.90, 29.98, 278.55°)
OKLaboklab(40.55% -0.0168 -0.0841)
OKLCHoklch(40.55% 0.086 258.7)
XYZxyz(6.7074, 6.6100, 18.3716)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4977 #77592B
analogous
#2B6F77 #2B4977 #332B77
triadic
#2B4977 #772B49 #49772B
tetradic
#2B4977 #772B6F #77592B #2B7733
square
#2B4977 #772B6F #77592B #2B7733
split-complementary
#2B4977 #77332B #6F772B
monochromatic
#0B121D #1B2D4A #2B4977 #3B65A4 #5983C3

Accessibility & contrast

On white

9.04
#2B4977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4977
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4977#FFFFFF#000000##FFFFFF
##2B49771.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D79
Deuteranopia (green-blind)
#2B4576
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4977;
/* rgb */ color: rgb(43, 73, 119);
/* oklch */ color: oklch(40.6% 0.086 258.7);
Tailwind
colors: {
  custom: {
    50: '#6c7b9e',
    500: '#2b4977',
    950: '#000000',
  },
}
SCSS
$custom: #2b4977;
$custom-light: #6c7b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4977",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 119
  },
  "hsl": {
    "h": 216.316,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40554,
    "c": 0.08577,
    "h": 258.7
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#2B4977
secondary
#A98855
accent
#A251D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2B4977

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

Preview Lab → · Contrast checker → · Palette generator →

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