#2A529A#2A529A

#2A529A is a dark, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.126 H 261.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2A529A
RGBrgb(42, 82, 154)
HSLhsl(219, 57%, 38%)
HSVhsv(219, 73%, 60%)
CMYKcmyk(72.7%, 46.8%, 0%, 39.6%)
CIE-LABlab(35.71, 11.59, -43.48)
CIE-LCHlch(35.71, 45.00, 284.92°)
OKLaboklab(44.95% -0.0195 -0.1246)
OKLCHoklch(44.95% 0.126 261.1)
XYZxyz(9.8028, 8.8589, 31.7589)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A529A #9A722A
analogous
#2A8A9A #2A529A #3A2A9A
triadic
#2A529A #9A2A52 #529A2A
tetradic
#2A529A #9A2A8A #9A722A #2A9A3A
square
#2A529A #9A2A8A #9A722A #2A9A3A
split-complementary
#2A529A #9A3A2A #8A9A2A
monochromatic
#101F3A #1D386A #2A529A #386CC9 #6890D6

Accessibility & contrast

On white

7.58
#2A529A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2A529A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A529A
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A529A#FFFFFF#000000##FFFFFF
##2A529A1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599D
Deuteranopia (green-blind)
#154F99
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a529a;
/* rgb */ color: rgb(42, 82, 154);
/* oklch */ color: oklch(45.0% 0.126 261.1);
Tailwind
colors: {
  custom: {
    50: '#7282b8',
    500: '#2a529a',
    950: '#000000',
  },
}
SCSS
$custom: #2a529a;
$custom-light: #7282b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a529a",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 154
  },
  "hsl": {
    "h": 218.571,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44953,
    "c": 0.12609,
    "h": 261.1
  },
  "luminance": 0.0886
}

Semantic roles & 50–950 ramp

primary
#2A529A
secondary
#BC9D63
accent
#AA47E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2A529A

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

Preview Lab → · Contrast checker → · Palette generator →

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