#2B4582#2B4582

#2B4582 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.107 H 264.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2B4582
RGBrgb(43, 69, 130)
HSLhsl(222, 50%, 34%)
HSVhsv(222, 67%, 51%)
CMYKcmyk(66.9%, 46.9%, 0%, 49%)
CIE-LABlab(30.35, 11.29, -37.38)
CIE-LCHlch(30.35, 39.05, 286.80°)
OKLaboklab(40.35% -0.0099 -0.1068)
OKLCHoklch(40.35% 0.107 264.7)
XYZxyz(7.1522, 6.3809, 21.9695)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4582 #82682B
analogous
#2B7182 #2B4582 #3D2B82
triadic
#2B4582 #822B45 #45822B
tetradic
#2B4582 #822B71 #82682B #2B823D
square
#2B4582 #822B71 #82682B #2B823D
split-complementary
#2B4582 #823D2B #71822B
monochromatic
#0D1426 #1C2D54 #2B4582 #3A5DB0 #5E7ECA

Accessibility & contrast

On white

9.23
#2B4582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B4582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4582
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4582#FFFFFF#000000##FFFFFF
##2B45821.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C84
Deuteranopia (green-blind)
#184481
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b4582;
/* rgb */ color: rgb(43, 69, 130);
/* oklch */ color: oklch(40.3% 0.107 264.7);
Tailwind
colors: {
  custom: {
    50: '#6e78a7',
    500: '#2b4582',
    950: '#000000',
  },
}
SCSS
$custom: #2b4582;
$custom-light: #6e78a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4582",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 222.069,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40347,
    "c": 0.1073,
    "h": 264.7
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#2B4582
secondary
#B09659
accent
#B04EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B4582

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

Preview Lab → · Contrast checker → · Palette generator →

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