#2B4B82#2B4B82

#2B4B82 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.7% C 0.100 H 260.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2B4B82
RGBrgb(43, 75, 130)
HSLhsl(218, 50%, 34%)
HSVhsv(218, 67%, 51%)
CMYKcmyk(66.9%, 42.3%, 0%, 49%)
CIE-LABlab(32.16, 7.25, -34.50)
CIE-LCHlch(32.16, 35.25, 281.87°)
OKLaboklab(41.74% -0.0164 -0.0983)
OKLCHoklch(41.74% 0.1 260.5)
XYZxyz(7.5402, 7.1567, 22.0988)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B82 #82622B
analogous
#2B7782 #2B4B82 #372B82
triadic
#2B4B82 #822B4B #4B822B
tetradic
#2B4B82 #822B77 #82622B #2B8237
square
#2B4B82 #822B77 #82622B #2B8237
split-complementary
#2B4B82 #82372B #77822B
monochromatic
#0D1626 #1C3054 #2B4B82 #3A66B0 #5E85CA

Accessibility & contrast

On white

8.64
#2B4B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2B4B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B82
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B82#FFFFFF#000000##FFFFFF
##2B4B821.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325084
Deuteranopia (green-blind)
#254881
Tritanopia (blue-blind)
#005860
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b4b82;
/* rgb */ color: rgb(43, 75, 130);
/* oklch */ color: oklch(41.7% 0.100 260.5);
Tailwind
colors: {
  custom: {
    50: '#6e7ca6',
    500: '#2b4b82',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b82;
$custom-light: #6e7ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b82",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 130
  },
  "hsl": {
    "h": 217.931,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4174,
    "c": 0.09963,
    "h": 260.5
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#2B4B82
secondary
#B09059
accent
#A64EDA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B4B82

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

Preview Lab → · Contrast checker → · Palette generator →

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