#2A528B#2A528B

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

Color values

HEX#2A528B
RGBrgb(42, 82, 139)
HSLhsl(215, 54%, 35%)
HSVhsv(215, 70%, 55%)
CMYKcmyk(69.8%, 41%, 0%, 45.5%)
CIE-LABlab(34.78, 5.85, -35.86)
CIE-LCHlch(34.78, 36.34, 279.26°)
OKLaboklab(43.93% -0.0226 -0.1022)
OKLCHoklch(43.93% 0.105 257.5)
XYZxyz(8.6307, 8.3900, 25.5857)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A528B #8B632A
analogous
#2A828B #2A528B #332A8B
triadic
#2A528B #8B2A52 #528B2A
tetradic
#2A528B #8B2A82 #8B632A #2A8B33
square
#2A528B #8B2A82 #8B632A #2A8B33
split-complementary
#2A528B #8B332A #828B2A
monochromatic
#0E1B2D #1C365C #2A528B #386EBA #608ECF

Accessibility & contrast

On white

7.84
#2A528B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2A528B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A528B
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A528B#FFFFFF#000000##FFFFFF
##2A528B1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a528b;
/* rgb */ color: rgb(42, 82, 139);
/* oklch */ color: oklch(43.9% 0.105 257.5);
Tailwind
colors: {
  custom: {
    50: '#6f82ad',
    500: '#2a528b',
    950: '#000000',
  },
}
SCSS
$custom: #2a528b;
$custom-light: #6f82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a528b",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 215.258,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43934,
    "c": 0.10465,
    "h": 257.5
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#2A528B
secondary
#B5905C
accent
#A14BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A528B

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

Preview Lab → · Contrast checker → · Palette generator →

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