#2D529C#2D529C

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

Color values

HEX#2D529C
RGBrgb(45, 82, 156)
HSLhsl(220, 55%, 39%)
HSVhsv(220, 71%, 61%)
CMYKcmyk(71.2%, 47.4%, 0%, 38.8%)
CIE-LABlab(35.97, 12.81, -44.26)
CIE-LCHlch(35.97, 46.08, 286.14°)
OKLaboklab(45.23% -0.0167 -0.1268)
OKLCHoklch(45.23% 0.128 262.5)
XYZxyz(10.0981, 8.9917, 32.6494)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D529C #9C772D
analogous
#2D8A9C #2D529C #402D9C
triadic
#2D529C #9C2D52 #529C2D
tetradic
#2D529C #9C2D8A #9C772D #2D9C40
square
#2D529C #9C2D8A #9C772D #2D9C40
split-complementary
#2D529C #9C402D #8A9C2D
monochromatic
#12203D #1F396D #2D529C #3F6CC8 #6E91D5

Accessibility & contrast

On white

7.50
#2D529C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2D529C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D529C
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D529C#FFFFFF#000000##FFFFFF
##2D529C1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9F
Deuteranopia (green-blind)
#13509A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d529c;
/* rgb */ color: rgb(45, 82, 156);
/* oklch */ color: oklch(45.2% 0.128 262.5);
Tailwind
colors: {
  custom: {
    50: '#7482ba',
    500: '#2d529c',
    950: '#000000',
  },
}
SCSS
$custom: #2d529c;
$custom-light: #7482ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d529c",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 220,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45227,
    "c": 0.12792,
    "h": 262.5
  },
  "luminance": 0.08993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D529C

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

Preview Lab → · Contrast checker → · Palette generator →

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