#2D529B#2D529B

#2D529B is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.127 H 262.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2D529B
RGBrgb(45, 82, 155)
HSLhsl(220, 55%, 39%)
HSVhsv(220, 71%, 61%)
CMYKcmyk(71%, 47.1%, 0%, 39.2%)
CIE-LABlab(35.90, 12.43, -43.77)
CIE-LCHlch(35.90, 45.50, 285.85°)
OKLaboklab(45.16% -0.0169 -0.1254)
OKLCHoklch(45.16% 0.127 262.3)
XYZxyz(10.0138, 8.9580, 32.2053)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D529B #9B762D
analogous
#2D899B #2D529B #3F2D9B
triadic
#2D529B #9B2D52 #529B2D
tetradic
#2D529B #9B2D89 #9B762D #2D9B3F
square
#2D529B #9B2D89 #9B762D #2D9B3F
split-complementary
#2D529B #9B3F2D #899B2D
monochromatic
#11203C #1F396C #2D529B #3E6CC7 #6E90D5

Accessibility & contrast

On white

7.52
#2D529B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D529B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D529B#FFFFFF#000000##FFFFFF
##2D529B1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d529b;
/* rgb */ color: rgb(45, 82, 155);
/* oklch */ color: oklch(45.2% 0.127 262.3);
Tailwind
colors: {
  custom: {
    50: '#7482b9',
    500: '#2d529b',
    950: '#000000',
  },
}
SCSS
$custom: #2d529b;
$custom-light: #7482b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d529b",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 155
  },
  "hsl": {
    "h": 219.818,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45156,
    "c": 0.1265,
    "h": 262.3
  },
  "luminance": 0.08959
}

Semantic roles & 50–950 ramp

primary
#2D529B
secondary
#BCA068
accent
#AC49DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D529B

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

Preview Lab → · Contrast checker → · Palette generator →

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