#2A528A#2A528A

#2A528A is a dark, moderate blue. Relative luminance 0.084; OKLCH L 43.9% C 0.103 H 257.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2A528A
RGBrgb(42, 82, 138)
HSLhsl(215, 53%, 35%)
HSVhsv(215, 70%, 54%)
CMYKcmyk(69.6%, 40.6%, 0%, 45.9%)
CIE-LABlab(34.72, 5.47, -35.34)
CIE-LCHlch(34.72, 35.76, 278.79°)
OKLaboklab(43.87% -0.0229 -0.1007)
OKLCHoklch(43.87% 0.103 257.2)
XYZxyz(8.5579, 8.3609, 25.2026)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A528A #8A622A
analogous
#2A828A #2A528A #322A8A
triadic
#2A528A #8A2A52 #528A2A
tetradic
#2A528A #8A2A82 #8A622A #2A8A32
square
#2A528A #8A2A82 #8A622A #2A8A32
split-complementary
#2A528A #8A322A #828A2A
monochromatic
#0D1A2C #1C365B #2A528A #386EB9 #608ECF

Accessibility & contrast

On white

7.86
#2A528A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2A528A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A528A
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A528A#FFFFFF#000000##FFFFFF
##2A528A1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578C
Deuteranopia (green-blind)
#2A4E89
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a528a;
/* rgb */ color: rgb(42, 82, 138);
/* oklch */ color: oklch(43.9% 0.103 257.2);
Tailwind
colors: {
  custom: {
    50: '#6f82ac',
    500: '#2a528a',
    950: '#000000',
  },
}
SCSS
$custom: #2a528a;
$custom-light: #6f82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a528a",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 215,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4387,
    "c": 0.10323,
    "h": 257.2
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#2A528A
secondary
#B48F5B
accent
#A04BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A528A

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

Preview Lab → · Contrast checker → · Palette generator →

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