#2A529F#2A529F

#2A529F is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.3% C 0.133 H 261.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2A529F
RGBrgb(42, 82, 159)
HSLhsl(219, 58%, 39%)
HSVhsv(219, 74%, 62%)
CMYKcmyk(73.6%, 48.4%, 0%, 37.6%)
CIE-LABlab(36.04, 13.51, -45.96)
CIE-LCHlch(36.04, 47.90, 286.38°)
OKLaboklab(45.31% -0.0187 -0.1319)
OKLCHoklch(45.31% 0.133 261.9)
XYZxyz(10.2279, 9.0289, 33.9979)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A529F #9F772A
analogous
#2A8D9F #2A529F #3C2A9F
triadic
#2A529F #9F2A52 #529F2A
tetradic
#2A529F #9F2A8D #9F772A #2A9F3C
square
#2A529F #9F2A8D #9F772A #2A9F3C
split-complementary
#2A529F #9F3C2A #8D9F2A
monochromatic
#10203E #1D396F #2A529F #3B6CCB #6B91D8

Accessibility & contrast

On white

7.48
#2A529F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2A529F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A529F
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A529F#FFFFFF#000000##FFFFFF
##2A529F1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA2
Deuteranopia (green-blind)
#07509D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a529f;
/* rgb */ color: rgb(42, 82, 159);
/* oklch */ color: oklch(45.3% 0.133 261.9);
Tailwind
colors: {
  custom: {
    50: '#7382bc',
    500: '#2a529f',
    950: '#000000',
  },
}
SCSS
$custom: #2a529f;
$custom-light: #7382bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a529f",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 219.487,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45311,
    "c": 0.13318,
    "h": 261.9
  },
  "luminance": 0.0903
}

Semantic roles & 50–950 ramp

primary
#2A529F
secondary
#BFA066
accent
#AC46E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A529F

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

Preview Lab → · Contrast checker → · Palette generator →

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