#2B4881#2B4881

#2B4881 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.102 H 262.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2B4881
RGBrgb(43, 72, 129)
HSLhsl(220, 50%, 34%)
HSVhsv(220, 67%, 51%)
CMYKcmyk(66.7%, 44.2%, 0%, 49.4%)
CIE-LABlab(31.19, 8.88, -35.43)
CIE-LCHlch(31.19, 36.52, 284.08°)
OKLaboklab(40.97% -0.0134 -0.101)
OKLCHoklch(40.97% 0.102 262.5)
XYZxyz(7.2747, 6.7326, 21.6808)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4881 #81642B
analogous
#2B7381 #2B4881 #392B81
triadic
#2B4881 #812B48 #48812B
tetradic
#2B4881 #812B73 #81642B #2B8139
square
#2B4881 #812B73 #81642B #2B8139
split-complementary
#2B4881 #81392B #73812B
monochromatic
#0C1525 #1C2E53 #2B4881 #3A62AF #5D82C9

Accessibility & contrast

On white

8.95
#2B4881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B4881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4881
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4881#FFFFFF#000000##FFFFFF
##2B48811.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4E83
Deuteranopia (green-blind)
#204680
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4881;
/* rgb */ color: rgb(43, 72, 129);
/* oklch */ color: oklch(41.0% 0.102 262.5);
Tailwind
colors: {
  custom: {
    50: '#6e7aa6',
    500: '#2b4881',
    950: '#000000',
  },
}
SCSS
$custom: #2b4881;
$custom-light: #6e7aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4881",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 129
  },
  "hsl": {
    "h": 219.767,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4097,
    "c": 0.10192,
    "h": 262.5
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#2B4881
secondary
#AF9259
accent
#AB4EDA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B4881

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

Preview Lab → · Contrast checker → · Palette generator →

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