#2B529A#2B529A

#2B529A is a dark, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.126 H 261.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2B529A
RGBrgb(43, 82, 154)
HSLhsl(219, 56%, 39%)
HSVhsv(219, 72%, 60%)
CMYKcmyk(72.1%, 46.8%, 0%, 39.6%)
CIE-LABlab(35.75, 11.74, -43.41)
CIE-LCHlch(35.75, 44.97, 285.13°)
OKLaboklab(45% -0.0187 -0.1243)
OKLCHoklch(45% 0.126 261.4)
XYZxyz(9.8442, 8.8802, 31.7608)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B529A #9A732B
analogous
#2B899A #2B529A #3B2B9A
triadic
#2B529A #9A2B52 #529A2B
tetradic
#2B529A #9A2B89 #9A732B #2B9A3B
square
#2B529A #9A2B89 #9A732B #2B9A3B
split-complementary
#2B529A #9A3B2B #899A2B
monochromatic
#101F3A #1E396A #2B529A #3A6CC8 #6A90D5

Accessibility & contrast

On white

7.56
#2B529A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2B529A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B529A
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B529A#FFFFFF#000000##FFFFFF
##2B529A1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9D
Deuteranopia (green-blind)
#164F99
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b529a;
/* rgb */ color: rgb(43, 82, 154);
/* oklch */ color: oklch(45.0% 0.126 261.4);
Tailwind
colors: {
  custom: {
    50: '#7382b8',
    500: '#2b529a',
    950: '#000000',
  },
}
SCSS
$custom: #2b529a;
$custom-light: #7382b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b529a",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 154
  },
  "hsl": {
    "h": 218.919,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44996,
    "c": 0.12575,
    "h": 261.4
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#2B529A
secondary
#BC9D65
accent
#AA48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B529A

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

Preview Lab → · Contrast checker → · Palette generator →

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