#2B4782#2B4782

#2B4782 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.105 H 263.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2B4782
RGBrgb(43, 71, 130)
HSLhsl(221, 50%, 34%)
HSVhsv(221, 67%, 51%)
CMYKcmyk(66.9%, 45.4%, 0%, 49%)
CIE-LABlab(30.95, 9.94, -36.43)
CIE-LCHlch(30.95, 37.76, 285.26°)
OKLaboklab(40.81% -0.0121 -0.104)
OKLCHoklch(40.81% 0.105 263.4)
XYZxyz(7.2774, 6.6311, 22.0112)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4782 #82662B
analogous
#2B7382 #2B4782 #3B2B82
triadic
#2B4782 #822B47 #47822B
tetradic
#2B4782 #822B73 #82662B #2B823B
square
#2B4782 #822B73 #82662B #2B823B
split-complementary
#2B4782 #823B2B #73822B
monochromatic
#0D1526 #1C2E54 #2B4782 #3A60B0 #5E80CA

Accessibility & contrast

On white

9.03
#2B4782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2B4782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4782
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4782#FFFFFF#000000##FFFFFF
##2B47821.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D84
Deuteranopia (green-blind)
#1D4581
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4782;
/* rgb */ color: rgb(43, 71, 130);
/* oklch */ color: oklch(40.8% 0.105 263.4);
Tailwind
colors: {
  custom: {
    50: '#6e79a7',
    500: '#2b4782',
    950: '#000000',
  },
}
SCSS
$custom: #2b4782;
$custom-light: #6e79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4782",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 130
  },
  "hsl": {
    "h": 220.69,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40807,
    "c": 0.1047,
    "h": 263.4
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#2B4782
secondary
#B09459
accent
#AD4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B4782

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

Preview Lab → · Contrast checker → · Palette generator →

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