#2D528D#2D528D

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

Color values

HEX#2D528D
RGBrgb(45, 82, 141)
HSLhsl(217, 52%, 36%)
HSVhsv(217, 68%, 55%)
CMYKcmyk(68.1%, 41.8%, 0%, 44.7%)
CIE-LABlab(35.03, 7.13, -36.68)
CIE-LCHlch(35.03, 37.36, 281.00°)
OKLaboklab(44.2% -0.0197 -0.1045)
OKLCHoklch(44.2% 0.106 259.3)
XYZxyz(8.9055, 8.5147, 26.3683)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D528D #8D682D
analogous
#2D828D #2D528D #382D8D
triadic
#2D528D #8D2D52 #528D2D
tetradic
#2D528D #8D2D82 #8D682D #2D8D38
square
#2D528D #8D2D82 #8D682D #2D8D38
split-complementary
#2D528D #8D382D #828D2D
monochromatic
#0F1C30 #1E375F #2D528D #3C6DBB #668ECE

Accessibility & contrast

On white

7.77
#2D528D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D528D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D528D#FFFFFF#000000##FFFFFF
##2D528D1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#284E8C
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d528d;
/* rgb */ color: rgb(45, 82, 141);
/* oklch */ color: oklch(44.2% 0.106 259.3);
Tailwind
colors: {
  custom: {
    50: '#7182af',
    500: '#2d528d',
    950: '#000000',
  },
}
SCSS
$custom: #2d528d;
$custom-light: #7182af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d528d",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 216.875,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44203,
    "c": 0.10635,
    "h": 259.3
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D528D

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

Preview Lab → · Contrast checker → · Palette generator →

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