#2C528D#2C528D

#2C528D is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.107 H 258.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#2C528D
RGBrgb(44, 82, 141)
HSLhsl(216, 52%, 36%)
HSVhsv(216, 69%, 55%)
CMYKcmyk(68.8%, 41.8%, 0%, 44.7%)
CIE-LABlab(34.99, 6.95, -36.75)
CIE-LCHlch(34.99, 37.40, 280.71°)
OKLaboklab(44.16% -0.0205 -0.1048)
OKLCHoklch(44.16% 0.107 258.9)
XYZxyz(8.8620, 8.4923, 26.3663)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C528D #8D672C
analogous
#2C838D #2C528D #372C8D
triadic
#2C528D #8D2C52 #528D2C
tetradic
#2C528D #8D2C83 #8D672C #2C8D37
square
#2C528D #8D2C83 #8D672C #2C8D37
split-complementary
#2C528D #8D372C #838D2C
monochromatic
#0F1C30 #1D375E #2C528D #3B6DBC #658ECF

Accessibility & contrast

On white

7.78
#2C528D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2C528D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C528D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C528D#FFFFFF#000000##FFFFFF
##2C528D1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#284E8C
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c528d;
/* rgb */ color: rgb(44, 82, 141);
/* oklch */ color: oklch(44.2% 0.107 258.9);
Tailwind
colors: {
  custom: {
    50: '#7082af',
    500: '#2c528d',
    950: '#000000',
  },
}
SCSS
$custom: #2c528d;
$custom-light: #7082af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c528d",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 216.495,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44156,
    "c": 0.10675,
    "h": 258.9
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#2C528D
secondary
#B59460
accent
#A34CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C528D

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

Preview Lab → · Contrast checker → · Palette generator →

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