#2D528B#2D528B

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

Color values

HEX#2D528B
RGBrgb(45, 82, 139)
HSLhsl(216, 51%, 36%)
HSVhsv(216, 68%, 55%)
CMYKcmyk(67.6%, 41%, 0%, 45.5%)
CIE-LABlab(34.91, 6.38, -35.64)
CIE-LCHlch(34.91, 36.21, 280.14°)
OKLaboklab(44.07% -0.0201 -0.1015)
OKLCHoklch(44.07% 0.103 258.8)
XYZxyz(8.7580, 8.4557, 25.5917)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D528B #8B662D
analogous
#2D818B #2D528B #372D8B
triadic
#2D528B #8B2D52 #528B2D
tetradic
#2D528B #8B2D81 #8B662D #2D8B37
square
#2D528B #8B2D81 #8B662D #2D8B37
split-complementary
#2D528B #8B372D #818B2D
monochromatic
#0F1B2F #1E375D #2D528B #3C6DB9 #658ECD

Accessibility & contrast

On white

7.80
#2D528B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D528B
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D528B#FFFFFF#000000##FFFFFF
##2D528B1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578D
Deuteranopia (green-blind)
#2A4E8A
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d528b;
/* rgb */ color: rgb(45, 82, 139);
/* oklch */ color: oklch(44.1% 0.103 258.8);
Tailwind
colors: {
  custom: {
    50: '#7082ad',
    500: '#2d528b',
    950: '#000000',
  },
}
SCSS
$custom: #2d528b;
$custom-light: #7082ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d528b",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 216.383,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44073,
    "c": 0.10347,
    "h": 258.8
  },
  "luminance": 0.08457
}

Semantic roles & 50–950 ramp

primary
#2D528B
secondary
#B49360
accent
#A34DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D528B

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

Preview Lab → · Contrast checker → · Palette generator →

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