#2D528A#2D528A

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

Color values

HEX#2D528A
RGBrgb(45, 82, 138)
HSLhsl(216, 51%, 36%)
HSVhsv(216, 67%, 54%)
CMYKcmyk(67.4%, 40.6%, 0%, 45.9%)
CIE-LABlab(34.86, 6.00, -35.13)
CIE-LCHlch(34.86, 35.63, 279.70°)
OKLaboklab(44.01% -0.0204 -0.1)
OKLCHoklch(44.01% 0.102 258.5)
XYZxyz(8.6853, 8.4266, 25.2086)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D528A #8A652D
analogous
#2D808A #2D528A #362D8A
triadic
#2D528A #8A2D52 #528A2D
tetradic
#2D528A #8A2D80 #8A652D #2D8A36
square
#2D528A #8A2D80 #8A652D #2D8A36
split-complementary
#2D528A #8A362D #808A2D
monochromatic
#0F1B2E #1E375C #2D528A #3C6DB8 #658ECD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D528A#FFFFFF#000000##FFFFFF
##2D528A1.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)
#39578C
Deuteranopia (green-blind)
#2B4E89
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d528a;
/* rgb */ color: rgb(45, 82, 138);
/* oklch */ color: oklch(44.0% 0.102 258.5);
Tailwind
colors: {
  custom: {
    50: '#7082ac',
    500: '#2d528a',
    950: '#000000',
  },
}
SCSS
$custom: #2d528a;
$custom-light: #7082ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d528a",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 216.129,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44009,
    "c": 0.10203,
    "h": 258.5
  },
  "luminance": 0.08427
}

Semantic roles & 50–950 ramp

primary
#2D528A
secondary
#B39260
accent
#A24DDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D528A

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

Preview Lab → · Contrast checker → · Palette generator →

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