#2B4A82#2B4A82

#2B4A82 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.101 H 261.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2B4A82
RGBrgb(43, 74, 130)
HSLhsl(219, 50%, 34%)
HSVhsv(219, 67%, 51%)
CMYKcmyk(66.9%, 43.1%, 0%, 49%)
CIE-LABlab(31.86, 7.92, -34.98)
CIE-LCHlch(31.86, 35.87, 282.76°)
OKLaboklab(41.51% -0.0153 -0.0997)
OKLCHoklch(41.51% 0.101 261.3)
XYZxyz(7.4729, 7.0221, 22.0764)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A82 #82632B
analogous
#2B7682 #2B4A82 #382B82
triadic
#2B4A82 #822B4A #4A822B
tetradic
#2B4A82 #822B76 #82632B #2B8238
square
#2B4A82 #822B76 #82632B #2B8238
split-complementary
#2B4A82 #82382B #76822B
monochromatic
#0D1626 #1C3054 #2B4A82 #3A64B0 #5E84CA

Accessibility & contrast

On white

8.73
#2B4A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2B4A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A82
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A82#FFFFFF#000000##FFFFFF
##2B4A821.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#234781
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b4a82;
/* rgb */ color: rgb(43, 74, 130);
/* oklch */ color: oklch(41.5% 0.101 261.3);
Tailwind
colors: {
  custom: {
    50: '#6e7ca7',
    500: '#2b4a82',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a82;
$custom-light: #6e7ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a82",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 130
  },
  "hsl": {
    "h": 218.621,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41505,
    "c": 0.10088,
    "h": 261.3
  },
  "luminance": 0.07023
}

Semantic roles & 50–950 ramp

primary
#2B4A82
secondary
#B09159
accent
#A84EDA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B4A82

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

Preview Lab → · Contrast checker → · Palette generator →

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