#2B4580#2B4580

#2B4580 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.104 H 264.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2B4580
RGBrgb(43, 69, 128)
HSLhsl(222, 50%, 34%)
HSVhsv(222, 66%, 50%)
CMYKcmyk(66.4%, 46.1%, 0%, 49.8%)
CIE-LABlab(30.22, 10.53, -36.35)
CIE-LCHlch(30.22, 37.84, 286.16°)
OKLaboklab(40.21% -0.0103 -0.1038)
OKLCHoklch(40.21% 0.104 264.3)
XYZxyz(7.0193, 6.3277, 21.2693)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4580 #80662B
analogous
#2B6F80 #2B4580 #3B2B80
triadic
#2B4580 #802B45 #45802B
tetradic
#2B4580 #802B6F #80662B #2B803B
square
#2B4580 #802B6F #80662B #2B803B
split-complementary
#2B4580 #803B2B #6F802B
monochromatic
#0C1424 #1C2C52 #2B4580 #3A5EAE #5D7EC9

Accessibility & contrast

On white

9.27
#2B4580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B4580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4580
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4580#FFFFFF#000000##FFFFFF
##2B45801.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B82
Deuteranopia (green-blind)
#1B447F
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b4580;
/* rgb */ color: rgb(43, 69, 128);
/* oklch */ color: oklch(40.2% 0.104 264.3);
Tailwind
colors: {
  custom: {
    50: '#6e78a5',
    500: '#2b4580',
    950: '#000000',
  },
}
SCSS
$custom: #2b4580;
$custom-light: #6e78a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4580",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 221.647,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40207,
    "c": 0.1043,
    "h": 264.3
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#2B4580
secondary
#AE9458
accent
#AF4FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B4580

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

Preview Lab → · Contrast checker → · Palette generator →

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