#2B529C#2B529C

#2B529C is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.129 H 261.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2B529C
RGBrgb(43, 82, 156)
HSLhsl(219, 57%, 39%)
HSVhsv(219, 72%, 61%)
CMYKcmyk(72.4%, 47.4%, 0%, 38.8%)
CIE-LABlab(35.88, 12.51, -44.41)
CIE-LCHlch(35.88, 46.13, 285.73°)
OKLaboklab(45.14% -0.0184 -0.1273)
OKLCHoklch(45.14% 0.129 261.8)
XYZxyz(10.0122, 8.9474, 32.6454)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B529C #9C752B
analogous
#2B8B9C #2B529C #3D2B9C
triadic
#2B529C #9C2B52 #529C2B
tetradic
#2B529C #9C2B8B #9C752B #2B9C3D
square
#2B529C #9C2B8B #9C752B #2B9C3D
split-complementary
#2B529C #9C3D2B #8B9C2B
monochromatic
#11203C #1E396C #2B529C #3B6CC9 #6B90D6

Accessibility & contrast

On white

7.53
#2B529C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2B529C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B529C
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B529C#FFFFFF#000000##FFFFFF
##2B529C1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5A9F
Deuteranopia (green-blind)
#11509A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b529c;
/* rgb */ color: rgb(43, 82, 156);
/* oklch */ color: oklch(45.1% 0.129 261.8);
Tailwind
colors: {
  custom: {
    50: '#7382ba',
    500: '#2b529c',
    950: '#000000',
  },
}
SCSS
$custom: #2b529c;
$custom-light: #7382ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b529c",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 219.292,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45138,
    "c": 0.12859,
    "h": 261.8
  },
  "luminance": 0.08948
}

Semantic roles & 50–950 ramp

primary
#2B529C
secondary
#BD9F66
accent
#AB48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B529C

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

Preview Lab → · Contrast checker → · Palette generator →

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