#2C529D#2C529D

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

Color values

HEX#2C529D
RGBrgb(44, 82, 157)
HSLhsl(220, 56%, 39%)
HSVhsv(220, 72%, 62%)
CMYKcmyk(72%, 47.8%, 0%, 38.4%)
CIE-LABlab(35.99, 13.04, -44.83)
CIE-LCHlch(35.99, 46.69, 286.22°)
OKLaboklab(45.25% -0.0174 -0.1285)
OKLCHoklch(45.25% 0.13 262.3)
XYZxyz(10.1396, 9.0033, 33.0952)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C529D #9D772C
analogous
#2C8B9D #2C529D #3F2C9D
triadic
#2C529D #9D2C52 #529D2C
tetradic
#2C529D #9D2C8B #9D772C #2C9D3F
square
#2C529D #9D2C8B #9D772C #2C9D3F
split-complementary
#2C529D #9D3F2C #8B9D2C
monochromatic
#11203D #1F396D #2C529D #3D6CC9 #6D91D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C529D#FFFFFF#000000##FFFFFF
##2C529D1.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)
#2A5AA0
Deuteranopia (green-blind)
#10509B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c529d;
/* rgb */ color: rgb(44, 82, 157);
/* oklch */ color: oklch(45.3% 0.130 262.3);
Tailwind
colors: {
  custom: {
    50: '#7482ba',
    500: '#2c529d',
    950: '#000000',
  },
}
SCSS
$custom: #2c529d;
$custom-light: #7482ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c529d",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 219.823,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45253,
    "c": 0.12968,
    "h": 262.3
  },
  "luminance": 0.09004
}

Semantic roles & 50–950 ramp

primary
#2C529D
secondary
#BDA068
accent
#AD48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C529D

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

Preview Lab → · Contrast checker → · Palette generator →

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