#2C528B#2C528B

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

Color values

HEX#2C528B
RGBrgb(44, 82, 139)
HSLhsl(216, 52%, 36%)
HSVhsv(216, 68%, 55%)
CMYKcmyk(68.3%, 41%, 0%, 45.5%)
CIE-LABlab(34.87, 6.20, -35.72)
CIE-LCHlch(34.87, 36.25, 279.84°)
OKLaboklab(44.03% -0.021 -0.1017)
OKLCHoklch(44.03% 0.104 258.4)
XYZxyz(8.7145, 8.4333, 25.5896)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C528B #8B652C
analogous
#2C818B #2C528B #352C8B
triadic
#2C528B #8B2C52 #528B2C
tetradic
#2C528B #8B2C81 #8B652C #2C8B35
square
#2C528B #8B2C81 #8B652C #2C8B35
split-complementary
#2C528B #8B352C #818B2C
monochromatic
#0F1B2E #1D375D #2C528B #3B6DB9 #648ECE

Accessibility & contrast

On white

7.82
#2C528B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C528B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C528B#FFFFFF#000000##FFFFFF
##2C528B1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578D
Deuteranopia (green-blind)
#2A4E8A
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c528b;
/* rgb */ color: rgb(44, 82, 139);
/* oklch */ color: oklch(44.0% 0.104 258.4);
Tailwind
colors: {
  custom: {
    50: '#7082ad',
    500: '#2c528b',
    950: '#000000',
  },
}
SCSS
$custom: #2c528b;
$custom-light: #7082ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c528b",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 216,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44026,
    "c": 0.10387,
    "h": 258.4
  },
  "luminance": 0.08434
}

Semantic roles & 50–950 ramp

primary
#2C528B
secondary
#B4925F
accent
#A24CDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C528B

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

Preview Lab → · Contrast checker → · Palette generator →

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