#2A529B#2A529B

#2A529B is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.128 H 261.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2A529B
RGBrgb(42, 82, 155)
HSLhsl(219, 57%, 39%)
HSVhsv(219, 73%, 61%)
CMYKcmyk(72.9%, 47.1%, 0%, 39.2%)
CIE-LABlab(35.78, 11.97, -43.98)
CIE-LCHlch(35.78, 45.58, 285.23°)
OKLaboklab(45.02% -0.0194 -0.126)
OKLCHoklch(45.02% 0.128 261.3)
XYZxyz(9.8864, 8.8923, 32.1993)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A529B #9B732A
analogous
#2A8A9B #2A529B #3A2A9B
triadic
#2A529B #9B2A52 #529B2A
tetradic
#2A529B #9B2A8A #9B732A #2A9B3A
square
#2A529B #9B2A8A #9B732A #2A9B3A
split-complementary
#2A529B #9B3A2A #8A9B2A
monochromatic
#101F3B #1D396B #2A529B #396CC9 #6990D6

Accessibility & contrast

On white

7.56
#2A529B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2A529B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A529B
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A529B#FFFFFF#000000##FFFFFF
##2A529B1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9E
Deuteranopia (green-blind)
#134F9A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a529b;
/* rgb */ color: rgb(42, 82, 155);
/* oklch */ color: oklch(45.0% 0.128 261.3);
Tailwind
colors: {
  custom: {
    50: '#7282b9',
    500: '#2a529b',
    950: '#000000',
  },
}
SCSS
$custom: #2a529b;
$custom-light: #7282b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a529b",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 155
  },
  "hsl": {
    "h": 218.761,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45024,
    "c": 0.12751,
    "h": 261.3
  },
  "luminance": 0.08893
}

Semantic roles & 50–950 ramp

primary
#2A529B
secondary
#BD9D64
accent
#AA47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2A529B

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

Preview Lab → · Contrast checker → · Palette generator →

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