#2D528E#2D528E

#2D528E is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.3% C 0.108 H 259.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2D528E
RGBrgb(45, 82, 142)
HSLhsl(217, 52%, 37%)
HSVhsv(217, 68%, 56%)
CMYKcmyk(68.3%, 42.3%, 0%, 44.3%)
CIE-LABlab(35.09, 7.50, -37.19)
CIE-LCHlch(35.09, 37.94, 281.41°)
OKLaboklab(44.27% -0.0194 -0.106)
OKLCHoklch(44.27% 0.108 259.6)
XYZxyz(8.9802, 8.5446, 26.7619)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D528E #8E692D
analogous
#2D838E #2D528E #382D8E
triadic
#2D528E #8E2D52 #528E2D
tetradic
#2D528E #8E2D83 #8E692D #2D8E38
square
#2D528E #8E2D83 #8E692D #2D8E38
split-complementary
#2D528E #8E382D #838E2D
monochromatic
#101C31 #1E3760 #2D528E #3C6DBC #678ECF

Accessibility & contrast

On white

7.75
#2D528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2D528E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D528E
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D528E#FFFFFF#000000##FFFFFF
##2D528E1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#274E8D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d528e;
/* rgb */ color: rgb(45, 82, 142);
/* oklch */ color: oklch(44.3% 0.108 259.6);
Tailwind
colors: {
  custom: {
    50: '#7182af',
    500: '#2d528e',
    950: '#000000',
  },
}
SCSS
$custom: #2d528e;
$custom-light: #7182af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d528e",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 217.113,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44269,
    "c": 0.1078,
    "h": 259.6
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D528E

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

Preview Lab → · Contrast checker → · Palette generator →

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