#2D528C#2D528C

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

Color values

HEX#2D528C
RGBrgb(45, 82, 140)
HSLhsl(217, 51%, 36%)
HSVhsv(217, 68%, 55%)
CMYKcmyk(67.9%, 41.4%, 0%, 45.1%)
CIE-LABlab(34.97, 6.75, -36.16)
CIE-LCHlch(34.97, 36.78, 280.58°)
OKLaboklab(44.14% -0.0199 -0.103)
OKLCHoklch(44.14% 0.105 259.1)
XYZxyz(8.8314, 8.4851, 25.9782)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D528C #8C672D
analogous
#2D828C #2D528C #382D8C
triadic
#2D528C #8C2D52 #528C2D
tetradic
#2D528C #8C2D82 #8C672D #2D8C38
square
#2D528C #8C2D82 #8C672D #2D8C38
split-complementary
#2D528C #8C382D #828C2D
monochromatic
#0F1C2F #1E375E #2D528C #3C6DBA #668ECE

Accessibility & contrast

On white

7.79
#2D528C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D528C
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D528C#FFFFFF#000000##FFFFFF
##2D528C1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.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: #2d528c;
/* rgb */ color: rgb(45, 82, 140);
/* oklch */ color: oklch(44.1% 0.105 259.1);
Tailwind
colors: {
  custom: {
    50: '#7182ae',
    500: '#2d528c',
    950: '#000000',
  },
}
SCSS
$custom: #2d528c;
$custom-light: #7182ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d528c",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 216.632,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44138,
    "c": 0.10491,
    "h": 259.1
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#2D528C
secondary
#B49460
accent
#A44DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D528C

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

Preview Lab → · Contrast checker → · Palette generator →

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