#2C528C#2C528C

#2C528C is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.1% C 0.105 H 258.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2C528C
RGBrgb(44, 82, 140)
HSLhsl(216, 52%, 36%)
HSVhsv(216, 69%, 55%)
CMYKcmyk(68.6%, 41.4%, 0%, 45.1%)
CIE-LABlab(34.93, 6.57, -36.23)
CIE-LCHlch(34.93, 36.83, 280.28°)
OKLaboklab(44.09% -0.0207 -0.1032)
OKLCHoklch(44.09% 0.105 258.6)
XYZxyz(8.7879, 8.4626, 25.9762)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C528C #8C662C
analogous
#2C828C #2C528C #362C8C
triadic
#2C528C #8C2C52 #528C2C
tetradic
#2C528C #8C2C82 #8C662C #2C8C36
square
#2C528C #8C2C82 #8C662C #2C8C36
split-complementary
#2C528C #8C362C #828C2C
monochromatic
#0F1B2F #1D375D #2C528C #3B6DBB #648ECE

Accessibility & contrast

On white

7.80
#2C528C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2C528C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C528C
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C528C#FFFFFF#000000##FFFFFF
##2C528C1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578E
Deuteranopia (green-blind)
#294E8B
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c528c;
/* rgb */ color: rgb(44, 82, 140);
/* oklch */ color: oklch(44.1% 0.105 258.6);
Tailwind
colors: {
  custom: {
    50: '#7082ae',
    500: '#2c528c',
    950: '#000000',
  },
}
SCSS
$custom: #2c528c;
$custom-light: #7082ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c528c",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 216.25,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44091,
    "c": 0.10531,
    "h": 258.6
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C528C

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

Preview Lab → · Contrast checker → · Palette generator →

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