#2C528E#2C528E

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

Color values

HEX#2C528E
RGBrgb(44, 82, 142)
HSLhsl(217, 53%, 36%)
HSVhsv(217, 69%, 56%)
CMYKcmyk(69%, 42.3%, 0%, 44.3%)
CIE-LABlab(35.05, 7.33, -37.26)
CIE-LCHlch(35.05, 37.98, 281.13°)
OKLaboklab(44.22% -0.0203 -0.1063)
OKLCHoklch(44.22% 0.108 259.2)
XYZxyz(8.9367, 8.5222, 26.7599)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C528E #8E682C
analogous
#2C838E #2C528E #372C8E
triadic
#2C528E #8E2C52 #528E2C
tetradic
#2C528E #8E2C83 #8E682C #2C8E37
square
#2C528E #8E2C83 #8E682C #2C8E37
split-complementary
#2C528E #8E372C #838E2C
monochromatic
#0F1C31 #1E375F #2C528E #3A6DBD #658ECF

Accessibility & contrast

On white

7.76
#2C528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C528E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C528E#FFFFFF#000000##FFFFFF
##2C528E1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#274E8D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c528e;
/* rgb */ color: rgb(44, 82, 142);
/* oklch */ color: oklch(44.2% 0.108 259.2);
Tailwind
colors: {
  custom: {
    50: '#7182af',
    500: '#2c528e',
    950: '#000000',
  },
}
SCSS
$custom: #2c528e;
$custom-light: #7182af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c528e",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 216.735,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44222,
    "c": 0.10819,
    "h": 259.2
  },
  "luminance": 0.08523
}

Semantic roles & 50–950 ramp

primary
#2C528E
secondary
#B69560
accent
#A44CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C528E

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

Preview Lab → · Contrast checker → · Palette generator →

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