#2D529F#2D529F

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

Color values

HEX#2D529F
RGBrgb(45, 82, 159)
HSLhsl(221, 56%, 40%)
HSVhsv(221, 72%, 62%)
CMYKcmyk(71.7%, 48.4%, 0%, 37.6%)
CIE-LABlab(36.17, 13.95, -45.75)
CIE-LCHlch(36.17, 47.83, 286.96°)
OKLaboklab(45.44% -0.0163 -0.1312)
OKLCHoklch(45.44% 0.132 262.9)
XYZxyz(10.3553, 9.0946, 34.0039)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D529F #9F7A2D
analogous
#2D8B9F #2D529F #412D9F
triadic
#2D529F #9F2D52 #529F2D
tetradic
#2D529F #9F2D8B #9F7A2D #2D9F41
square
#2D529F #9F2D8B #9F7A2D #2D9F41
split-complementary
#2D529F #9F412D #8B9F2D
monochromatic
#122140 #20396F #2D529F #406DC9 #7091D6

Accessibility & contrast

On white

7.45
#2D529F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2D529F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D529F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D529F#FFFFFF#000000##FFFFFF
##2D529F1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295BA2
Deuteranopia (green-blind)
#0B509D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d529f;
/* rgb */ color: rgb(45, 82, 159);
/* oklch */ color: oklch(45.4% 0.132 262.9);
Tailwind
colors: {
  custom: {
    50: '#7582bc',
    500: '#2d529f',
    950: '#000000',
  },
}
SCSS
$custom: #2d529f;
$custom-light: #7582bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d529f",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 220.526,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.45442,
    "c": 0.1322,
    "h": 262.9
  },
  "luminance": 0.09096
}

Semantic roles & 50–950 ramp

primary
#2D529F
secondary
#BEA36A
accent
#AE49DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D529F

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

Preview Lab → · Contrast checker → · Palette generator →

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