#2A528D#2A528D

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

Color values

HEX#2A528D
RGBrgb(42, 82, 141)
HSLhsl(216, 54%, 36%)
HSVhsv(216, 70%, 55%)
CMYKcmyk(70.2%, 41.8%, 0%, 44.7%)
CIE-LABlab(34.90, 6.61, -36.89)
CIE-LCHlch(34.90, 37.48, 280.15°)
OKLaboklab(44.07% -0.0221 -0.1052)
OKLCHoklch(44.07% 0.108 258.1)
XYZxyz(8.7781, 8.4490, 26.3623)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A528D #8D652A
analogous
#2A838D #2A528D #342A8D
triadic
#2A528D #8D2A52 #528D2A
tetradic
#2A528D #8D2A83 #8D652A #2A8D34
square
#2A528D #8D2A83 #8D652A #2A8D34
split-complementary
#2A528D #8D342A #838D2A
monochromatic
#0E1B2F #1C375E #2A528D #386DBC #618ED0

Accessibility & contrast

On white

7.81
#2A528D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A528D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A528D#FFFFFF#000000##FFFFFF
##2A528D1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a528d;
/* rgb */ color: rgb(42, 82, 141);
/* oklch */ color: oklch(44.1% 0.108 258.1);
Tailwind
colors: {
  custom: {
    50: '#7082af',
    500: '#2a528d',
    950: '#000000',
  },
}
SCSS
$custom: #2a528d;
$custom-light: #7082af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a528d",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 215.758,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44065,
    "c": 0.10752,
    "h": 258.1
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#2A528D
secondary
#B6925D
accent
#A24ADD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A528D

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

Preview Lab → · Contrast checker → · Palette generator →

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