#2C528F#2C528F

#2C528F is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.3% C 0.110 H 259.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2C528F
RGBrgb(44, 82, 143)
HSLhsl(217, 53%, 37%)
HSVhsv(217, 69%, 56%)
CMYKcmyk(69.2%, 42.7%, 0%, 43.9%)
CIE-LABlab(35.11, 7.71, -37.78)
CIE-LCHlch(35.11, 38.56, 281.53°)
OKLaboklab(44.29% -0.0201 -0.1078)
OKLCHoklch(44.29% 0.11 259.5)
XYZxyz(9.0121, 8.5523, 27.1571)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C528F #8F692C
analogous
#2C848F #2C528F #382C8F
triadic
#2C528F #8F2C52 #528F2C
tetradic
#2C528F #8F2C84 #8F692C #2C8F38
square
#2C528F #8F2C84 #8F692C #2C8F38
split-complementary
#2C528F #8F382C #848F2C
monochromatic
#0F1C31 #1E3760 #2C528F #3A6DBE #668ED0

Accessibility & contrast

On white

7.75
#2C528F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2C528F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C528F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C528F#FFFFFF#000000##FFFFFF
##2C528F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365891
Deuteranopia (green-blind)
#264E8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c528f;
/* rgb */ color: rgb(44, 82, 143);
/* oklch */ color: oklch(44.3% 0.110 259.5);
Tailwind
colors: {
  custom: {
    50: '#7182b0',
    500: '#2c528f',
    950: '#000000',
  },
}
SCSS
$custom: #2c528f;
$custom-light: #7182b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c528f",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 216.97,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44288,
    "c": 0.10962,
    "h": 259.5
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#2C528F
secondary
#B69561
accent
#A54BDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C528F

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

Preview Lab → · Contrast checker → · Palette generator →

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