#2A539F#2A539F

#2A539F is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.5% C 0.132 H 261.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2A539F
RGBrgb(42, 83, 159)
HSLhsl(219, 58%, 39%)
HSVhsv(219, 74%, 62%)
CMYKcmyk(73.6%, 47.8%, 0%, 37.6%)
CIE-LABlab(36.33, 12.85, -45.49)
CIE-LCHlch(36.33, 47.27, 285.77°)
OKLaboklab(45.53% -0.0196 -0.1305)
OKLCHoklch(45.53% 0.132 261.5)
XYZxyz(10.3039, 9.1808, 34.0232)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A539F #9F762A
analogous
#2A8E9F #2A539F #3B2A9F
triadic
#2A539F #9F2A53 #539F2A
tetradic
#2A539F #9F2A8E #9F762A #2A9F3B
square
#2A539F #9F2A8E #9F762A #2A9F3B
split-complementary
#2A539F #9F3B2A #8E9F2A
monochromatic
#10203E #1D3A6F #2A539F #3B6ECB #6B91D8

Accessibility & contrast

On white

7.40
#2A539F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2A539F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A539F
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A539F#FFFFFF#000000##FFFFFF
##2A539F1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA2
Deuteranopia (green-blind)
#0D509D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a539f;
/* rgb */ color: rgb(42, 83, 159);
/* oklch */ color: oklch(45.5% 0.132 261.5);
Tailwind
colors: {
  custom: {
    50: '#7382bc',
    500: '#2a539f',
    950: '#000000',
  },
}
SCSS
$custom: #2a539f;
$custom-light: #7382bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a539f",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 159
  },
  "hsl": {
    "h": 218.974,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45533,
    "c": 0.13194,
    "h": 261.5
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A539F

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

Preview Lab → · Contrast checker → · Palette generator →

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