#2A529C#2A529C

#2A529C is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.129 H 261.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2A529C
RGBrgb(42, 82, 156)
HSLhsl(219, 58%, 39%)
HSVhsv(219, 73%, 61%)
CMYKcmyk(73.1%, 47.4%, 0%, 38.8%)
CIE-LABlab(35.84, 12.36, -44.48)
CIE-LCHlch(35.84, 46.16, 285.53°)
OKLaboklab(45.1% -0.0192 -0.1275)
OKLCHoklch(45.1% 0.129 261.4)
XYZxyz(9.9707, 8.9261, 32.6435)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A529C #9C742A
analogous
#2A8B9C #2A529C #3B2A9C
triadic
#2A529C #9C2A52 #529C2A
tetradic
#2A529C #9C2A8B #9C742A #2A9C3B
square
#2A529C #9C2A8B #9C742A #2A9C3B
split-complementary
#2A529C #9C3B2A #8B9C2A
monochromatic
#101F3C #1D396C #2A529C #396CCA #6A90D7

Accessibility & contrast

On white

7.54
#2A529C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2A529C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A529C
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A529C#FFFFFF#000000##FFFFFF
##2A529C1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a529c;
/* rgb */ color: rgb(42, 82, 156);
/* oklch */ color: oklch(45.1% 0.129 261.4);
Tailwind
colors: {
  custom: {
    50: '#7382ba',
    500: '#2a529c',
    950: '#000000',
  },
}
SCSS
$custom: #2a529c;
$custom-light: #7382ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a529c",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 218.947,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45095,
    "c": 0.12893,
    "h": 261.4
  },
  "luminance": 0.08927
}

Semantic roles & 50–950 ramp

primary
#2A529C
secondary
#BD9E65
accent
#AB47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2A529C

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

Preview Lab → · Contrast checker → · Palette generator →

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