#2A539E#2A539E

#2A539E is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.131 H 261.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2A539E
RGBrgb(42, 83, 158)
HSLhsl(219, 58%, 39%)
HSVhsv(219, 73%, 62%)
CMYKcmyk(73.4%, 47.5%, 0%, 38%)
CIE-LABlab(36.26, 12.46, -45.00)
CIE-LCHlch(36.26, 46.69, 285.48°)
OKLaboklab(45.46% -0.0198 -0.129)
OKLCHoklch(45.46% 0.131 261.3)
XYZxyz(10.2174, 9.1463, 33.5680)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A539E #9E752A
analogous
#2A8D9E #2A539E #3B2A9E
triadic
#2A539E #9E2A53 #539E2A
tetradic
#2A539E #9E2A8D #9E752A #2A9E3B
square
#2A539E #9E2A8D #9E752A #2A9E3B
split-complementary
#2A539E #9E3B2A #8D9E2A
monochromatic
#10203D #1D3A6E #2A539E #3A6DCB #6B91D8

Accessibility & contrast

On white

7.42
#2A539E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2A539E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A539E
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A539E#FFFFFF#000000##FFFFFF
##2A539E1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5BA1
Deuteranopia (green-blind)
#10509C
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a539e;
/* rgb */ color: rgb(42, 83, 158);
/* oklch */ color: oklch(45.5% 0.131 261.3);
Tailwind
colors: {
  custom: {
    50: '#7382bb',
    500: '#2a539e',
    950: '#000000',
  },
}
SCSS
$custom: #2a539e;
$custom-light: #7382bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a539e",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 158
  },
  "hsl": {
    "h": 218.793,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45462,
    "c": 0.13052,
    "h": 261.3
  },
  "luminance": 0.09147
}

Semantic roles & 50–950 ramp

primary
#2A539E
secondary
#BE9F66
accent
#AB47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A539E

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

Preview Lab → · Contrast checker → · Palette generator →

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