#2D528F#2D528F

#2D528F is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.3% C 0.109 H 259.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2D528F
RGBrgb(45, 82, 143)
HSLhsl(217, 52%, 37%)
HSVhsv(217, 69%, 56%)
CMYKcmyk(68.5%, 42.7%, 0%, 43.9%)
CIE-LABlab(35.15, 7.88, -37.70)
CIE-LCHlch(35.15, 38.52, 281.81°)
OKLaboklab(44.34% -0.0192 -0.1075)
OKLCHoklch(44.34% 0.109 259.9)
XYZxyz(9.0556, 8.5747, 27.1591)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D528F #8F6A2D
analogous
#2D838F #2D528F #392D8F
triadic
#2D528F #8F2D52 #528F2D
tetradic
#2D528F #8F2D83 #8F6A2D #2D8F39
square
#2D528F #8F2D83 #8F6A2D #2D8F39
split-complementary
#2D528F #8F392D #838F2D
monochromatic
#101D32 #1E3760 #2D528F #3C6DBE #678ECF

Accessibility & contrast

On white

7.73
#2D528F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2D528F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D528F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D528F#FFFFFF#000000##FFFFFF
##2D528F1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365891
Deuteranopia (green-blind)
#264E8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d528f;
/* rgb */ color: rgb(45, 82, 143);
/* oklch */ color: oklch(44.3% 0.109 259.9);
Tailwind
colors: {
  custom: {
    50: '#7182b0',
    500: '#2d528f',
    950: '#000000',
  },
}
SCSS
$custom: #2d528f;
$custom-light: #7182b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d528f",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 217.347,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44335,
    "c": 0.10924,
    "h": 259.9
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#2D528F
secondary
#B69662
accent
#A54CDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D528F

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

Preview Lab → · Contrast checker → · Palette generator →

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