#2B4873#2B4873

#2B4873 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.1% C 0.081 H 258.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2B4873
RGBrgb(43, 72, 115)
HSLhsl(216, 46%, 31%)
HSVhsv(216, 63%, 45%)
CMYKcmyk(62.6%, 37.4%, 0%, 54.9%)
CIE-LABlab(30.37, 3.64, -27.99)
CIE-LCHlch(30.37, 28.22, 277.41°)
OKLaboklab(40.06% -0.0167 -0.0793)
OKLCHoklch(40.06% 0.081 258.1)
XYZxyz(6.4070, 6.3856, 17.1112)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4873 #73562B
analogous
#2B6C73 #2B4873 #322B73
triadic
#2B4873 #732B48 #48732B
tetradic
#2B4873 #732B6C #73562B #2B7332
square
#2B4873 #732B6C #73562B #2B7332
split-complementary
#2B4873 #73322B #6C732B
monochromatic
#0A101A #1A2C46 #2B4873 #3C64A0 #5882C1

Accessibility & contrast

On white

9.22
#2B4873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B4873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4873
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4873#FFFFFF#000000##FFFFFF
##2B48731.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B75
Deuteranopia (green-blind)
#2C4472
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b4873;
/* rgb */ color: rgb(43, 72, 115);
/* oklch */ color: oklch(40.1% 0.081 258.1);
Tailwind
colors: {
  custom: {
    50: '#6b7a9b',
    500: '#2b4873',
    950: '#000000',
  },
}
SCSS
$custom: #2b4873;
$custom-light: #6b7a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4873",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 215.833,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40062,
    "c": 0.08101,
    "h": 258.1
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#2B4873
secondary
#A58555
accent
#A153D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2B4873

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

Preview Lab → · Contrast checker → · Palette generator →

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