#2B4882#2B4882

#2B4882 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.0% C 0.103 H 262.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2B4882
RGBrgb(43, 72, 130)
HSLhsl(220, 50%, 34%)
HSVhsv(220, 67%, 51%)
CMYKcmyk(66.9%, 44.6%, 0%, 49%)
CIE-LABlab(31.25, 9.26, -35.95)
CIE-LCHlch(31.25, 37.12, 284.45°)
OKLaboklab(41.04% -0.0131 -0.1026)
OKLCHoklch(41.04% 0.103 262.7)
XYZxyz(7.3415, 6.7593, 22.0326)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4882 #82652B
analogous
#2B7482 #2B4882 #3A2B82
triadic
#2B4882 #822B48 #48822B
tetradic
#2B4882 #822B74 #82652B #2B823A
square
#2B4882 #822B74 #82652B #2B823A
split-complementary
#2B4882 #823A2B #74822B
monochromatic
#0D1526 #1C2F54 #2B4882 #3A61B0 #5E82CA

Accessibility & contrast

On white

8.93
#2B4882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4882
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4882#FFFFFF#000000##FFFFFF
##2B48821.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E84
Deuteranopia (green-blind)
#1F4681
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4882;
/* rgb */ color: rgb(43, 72, 130);
/* oklch */ color: oklch(41.0% 0.103 262.7);
Tailwind
colors: {
  custom: {
    50: '#6e7aa7',
    500: '#2b4882',
    950: '#000000',
  },
}
SCSS
$custom: #2b4882;
$custom-light: #6e7aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4882",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 130
  },
  "hsl": {
    "h": 220,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41039,
    "c": 0.10341,
    "h": 262.7
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#2B4882
secondary
#B09359
accent
#AB4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B4882

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

Preview Lab → · Contrast checker → · Palette generator →

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