#2B529F#2B529F

#2B529F is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.133 H 262.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2B529F
RGBrgb(43, 82, 159)
HSLhsl(220, 57%, 40%)
HSVhsv(220, 73%, 62%)
CMYKcmyk(73%, 48.4%, 0%, 37.6%)
CIE-LABlab(36.08, 13.66, -45.89)
CIE-LCHlch(36.08, 47.88, 286.57°)
OKLaboklab(45.35% -0.0179 -0.1316)
OKLCHoklch(45.35% 0.133 262.3)
XYZxyz(10.2693, 9.0503, 33.9998)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B529F #9F782B
analogous
#2B8C9F #2B529F #3E2B9F
triadic
#2B529F #9F2B52 #529F2B
tetradic
#2B529F #9F2B8C #9F782B #2B9F3E
square
#2B529F #9F2B8C #9F782B #2B9F3E
split-complementary
#2B529F #9F3E2B #8C9F2B
monochromatic
#11203F #1E396F #2B529F #3D6CCA #6D91D7

Accessibility & contrast

On white

7.47
#2B529F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2B529F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B529F
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B529F#FFFFFF#000000##FFFFFF
##2B529F1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285BA2
Deuteranopia (green-blind)
#08509D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b529f;
/* rgb */ color: rgb(43, 82, 159);
/* oklch */ color: oklch(45.4% 0.133 262.3);
Tailwind
colors: {
  custom: {
    50: '#7482bc',
    500: '#2b529f',
    950: '#000000',
  },
}
SCSS
$custom: #2b529f;
$custom-light: #7482bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b529f",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 219.828,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45354,
    "c": 0.13285,
    "h": 262.3
  },
  "luminance": 0.09051
}

Semantic roles & 50–950 ramp

primary
#2B529F
secondary
#BEA167
accent
#AD47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B529F

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

Preview Lab → · Contrast checker → · Palette generator →

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