#2B4F82#2B4F82

#2B4F82 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.7% C 0.095 H 257.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2B4F82
RGBrgb(43, 79, 130)
HSLhsl(215, 50%, 34%)
HSVhsv(215, 67%, 51%)
CMYKcmyk(66.9%, 39.2%, 0%, 49%)
CIE-LABlab(33.39, 4.60, -32.55)
CIE-LCHlch(33.39, 32.88, 278.04°)
OKLaboklab(42.69% -0.0208 -0.0925)
OKLCHoklch(42.69% 0.095 257.3)
XYZxyz(7.8201, 7.7165, 22.1921)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F82 #825E2B
analogous
#2B7B82 #2B4F82 #332B82
triadic
#2B4F82 #822B4F #4F822B
tetradic
#2B4F82 #822B7B #825E2B #2B8233
square
#2B4F82 #822B7B #825E2B #2B8233
split-complementary
#2B4F82 #82332B #7B822B
monochromatic
#0D1726 #1C3354 #2B4F82 #3A6BB0 #5E8ACA

Accessibility & contrast

On white

8.26
#2B4F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2B4F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F82
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F82#FFFFFF#000000##FFFFFF
##2B4F821.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395384
Deuteranopia (green-blind)
#2C4B81
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4f82;
/* rgb */ color: rgb(43, 79, 130);
/* oklch */ color: oklch(42.7% 0.095 257.3);
Tailwind
colors: {
  custom: {
    50: '#6e80a6',
    500: '#2b4f82',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f82;
$custom-light: #6e80a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f82",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 215.172,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4269,
    "c": 0.09483,
    "h": 257.3
  },
  "luminance": 0.07717
}

Semantic roles & 50–950 ramp

primary
#2B4F82
secondary
#B08C59
accent
#A04EDA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B4F82

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

Preview Lab → · Contrast checker → · Palette generator →

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