#2C528A#2C528A

#2C528A is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.102 H 258.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2C528A
RGBrgb(44, 82, 138)
HSLhsl(216, 52%, 36%)
HSVhsv(216, 68%, 54%)
CMYKcmyk(68.1%, 40.6%, 0%, 45.9%)
CIE-LABlab(34.81, 5.82, -35.20)
CIE-LCHlch(34.81, 35.68, 279.39°)
OKLaboklab(43.96% -0.0212 -0.1002)
OKLCHoklch(43.96% 0.102 258)
XYZxyz(8.6418, 8.4042, 25.2066)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C528A #8A642C
analogous
#2C818A #2C528A #352C8A
triadic
#2C528A #8A2C52 #528A2C
tetradic
#2C528A #8A2C81 #8A642C #2C8A35
square
#2C528A #8A2C81 #8A642C #2C8A35
split-complementary
#2C528A #8A352C #818A2C
monochromatic
#0E1B2D #1D365C #2C528A #3B6EB8 #638ECD

Accessibility & contrast

On white

7.83
#2C528A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2C528A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C528A
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C528A#FFFFFF#000000##FFFFFF
##2C528A1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578C
Deuteranopia (green-blind)
#2B4E89
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c528a;
/* rgb */ color: rgb(44, 82, 138);
/* oklch */ color: oklch(44.0% 0.102 258.0);
Tailwind
colors: {
  custom: {
    50: '#7082ac',
    500: '#2c528a',
    950: '#000000',
  },
}
SCSS
$custom: #2c528a;
$custom-light: #7082ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c528a",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 215.745,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43961,
    "c": 0.10243,
    "h": 258
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

primary
#2C528A
secondary
#B4915E
accent
#A24DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C528A

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

Preview Lab → · Contrast checker → · Palette generator →

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