#2A528F#2A528F

#2A528F is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.110 H 258.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2A528F
RGBrgb(42, 82, 143)
HSLhsl(216, 55%, 36%)
HSVhsv(216, 71%, 56%)
CMYKcmyk(70.6%, 42.7%, 0%, 43.9%)
CIE-LABlab(35.02, 7.37, -37.92)
CIE-LCHlch(35.02, 38.63, 281.00°)
OKLaboklab(44.2% -0.0217 -0.1082)
OKLCHoklch(44.2% 0.11 258.7)
XYZxyz(8.9283, 8.5091, 27.1532)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A528F #8F672A
analogous
#2A858F #2A528F #352A8F
triadic
#2A528F #8F2A52 #528F2A
tetradic
#2A528F #8F2A85 #8F672A #2A8F35
square
#2A528F #8F2A85 #8F672A #2A8F35
split-complementary
#2A528F #8F352A #858F2A
monochromatic
#0E1C30 #1C3760 #2A528F #386DBE #628ED1

Accessibility & contrast

On white

7.77
#2A528F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2A528F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A528F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A528F#FFFFFF#000000##FFFFFF
##2A528F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#254E8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a528f;
/* rgb */ color: rgb(42, 82, 143);
/* oklch */ color: oklch(44.2% 0.110 258.7);
Tailwind
colors: {
  custom: {
    50: '#7082b0',
    500: '#2a528f',
    950: '#000000',
  },
}
SCSS
$custom: #2a528f;
$custom-light: #7082b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a528f",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 216.238,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44197,
    "c": 0.11037,
    "h": 258.7
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#2A528F
secondary
#B7945E
accent
#A34ADE
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A528F

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

Preview Lab → · Contrast checker → · Palette generator →

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