#2A529E#2A529E

#2A529E is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.132 H 261.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2A529E
RGBrgb(42, 82, 158)
HSLhsl(219, 58%, 39%)
HSVhsv(219, 73%, 62%)
CMYKcmyk(73.4%, 48.1%, 0%, 38%)
CIE-LABlab(35.97, 13.13, -45.47)
CIE-LCHlch(35.97, 47.32, 286.10°)
OKLaboklab(45.24% -0.0189 -0.1304)
OKLCHoklch(45.24% 0.132 261.8)
XYZxyz(10.1415, 8.9944, 33.5427)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A529E #9E762A
analogous
#2A8C9E #2A529E #3C2A9E
triadic
#2A529E #9E2A52 #529E2A
tetradic
#2A529E #9E2A8C #9E762A #2A9E3C
square
#2A529E #9E2A8C #9E762A #2A9E3C
split-complementary
#2A529E #9E3C2A #8C9E2A
monochromatic
#10203D #1D396E #2A529E #3A6CCB #6B90D8

Accessibility & contrast

On white

7.50
#2A529E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2A529E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A529E
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A529E#FFFFFF#000000##FFFFFF
##2A529E1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA1
Deuteranopia (green-blind)
#0A509C
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a529e;
/* rgb */ color: rgb(42, 82, 158);
/* oklch */ color: oklch(45.2% 0.132 261.8);
Tailwind
colors: {
  custom: {
    50: '#7382bb',
    500: '#2a529e',
    950: '#000000',
  },
}
SCSS
$custom: #2a529e;
$custom-light: #7382bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a529e",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 158
  },
  "hsl": {
    "h": 219.31,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45238,
    "c": 0.13177,
    "h": 261.8
  },
  "luminance": 0.08995
}

Semantic roles & 50–950 ramp

primary
#2A529E
secondary
#BEA066
accent
#AC47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A529E

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

Preview Lab → · Contrast checker → · Palette generator →

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