#2B4876#2B4876

#2B4876 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.2% C 0.085 H 259.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2B4876
RGBrgb(43, 72, 118)
HSLhsl(217, 47%, 32%)
HSVhsv(217, 64%, 46%)
CMYKcmyk(63.6%, 39%, 0%, 53.7%)
CIE-LABlab(30.53, 4.75, -29.61)
CIE-LCHlch(30.53, 29.98, 279.12°)
OKLaboklab(40.25% -0.0159 -0.084)
OKLCHoklch(40.25% 0.085 259.3)
XYZxyz(6.5825, 6.4557, 18.0352)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4876 #76592B
analogous
#2B6E76 #2B4876 #342B76
triadic
#2B4876 #762B48 #48762B
tetradic
#2B4876 #762B6E #76592B #2B7634
square
#2B4876 #762B6E #76592B #2B7634
split-complementary
#2B4876 #76342B #6E762B
monochromatic
#0A111C #1B2D49 #2B4876 #3B63A3 #5982C2

Accessibility & contrast

On white

9.17
#2B4876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B4876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4876
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4876#FFFFFF#000000##FFFFFF
##2B48761.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344C78
Deuteranopia (green-blind)
#2A4575
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b4876;
/* rgb */ color: rgb(43, 72, 118);
/* oklch */ color: oklch(40.2% 0.085 259.3);
Tailwind
colors: {
  custom: {
    50: '#6c7a9e',
    500: '#2b4876',
    950: '#000000',
  },
}
SCSS
$custom: #2b4876;
$custom-light: #6c7a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4876",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 118
  },
  "hsl": {
    "h": 216.8,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40249,
    "c": 0.08549,
    "h": 259.3
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#2B4876
secondary
#A88855
accent
#A352D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2B4876

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

Preview Lab → · Contrast checker → · Palette generator →

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