#2D529E#2D529E

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

Color values

HEX#2D529E
RGBrgb(45, 82, 158)
HSLhsl(220, 56%, 40%)
HSVhsv(220, 72%, 62%)
CMYKcmyk(71.5%, 48.1%, 0%, 38%)
CIE-LABlab(36.10, 13.57, -45.26)
CIE-LCHlch(36.10, 47.25, 286.69°)
OKLaboklab(45.37% -0.0164 -0.1297)
OKLCHoklch(45.37% 0.131 262.8)
XYZxyz(10.2688, 9.0600, 33.5487)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D529E #9E792D
analogous
#2D8B9E #2D529E #412D9E
triadic
#2D529E #9E2D52 #529E2D
tetradic
#2D529E #9E2D8B #9E792D #2D9E41
square
#2D529E #9E2D8B #9E792D #2D9E41
split-complementary
#2D529E #9E412D #8B9E2D
monochromatic
#12213F #1F396E #2D529E #406CC9 #6F91D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D529E#FFFFFF#000000##FFFFFF
##2D529E1.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)
#2A5AA1
Deuteranopia (green-blind)
#0E509C
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d529e;
/* rgb */ color: rgb(45, 82, 158);
/* oklch */ color: oklch(45.4% 0.131 262.8);
Tailwind
colors: {
  custom: {
    50: '#7482bb',
    500: '#2d529e',
    950: '#000000',
  },
}
SCSS
$custom: #2d529e;
$custom-light: #7482bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d529e",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 158
  },
  "hsl": {
    "h": 220.354,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4537,
    "c": 0.13078,
    "h": 262.8
  },
  "luminance": 0.09061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D529E

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

Preview Lab → · Contrast checker → · Palette generator →

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