#2A559B#2A559B

#2A559B is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.7% C 0.124 H 259.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2A559B
RGBrgb(42, 85, 155)
HSLhsl(217, 57%, 39%)
HSVhsv(217, 73%, 61%)
CMYKcmyk(72.9%, 45.2%, 0%, 39.2%)
CIE-LABlab(36.66, 9.99, -42.56)
CIE-LCHlch(36.66, 43.72, 283.21°)
OKLaboklab(45.7% -0.0222 -0.1218)
OKLCHoklch(45.7% 0.124 259.7)
XYZxyz(10.1176, 9.3547, 32.2764)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A559B #9B702A
analogous
#2A8D9B #2A559B #372A9B
triadic
#2A559B #9B2A55 #559B2A
tetradic
#2A559B #9B2A8D #9B702A #2A9B37
square
#2A559B #9B2A8D #9B702A #2A9B37
split-complementary
#2A559B #9B372A #8D9B2A
monochromatic
#10203B #1D3B6B #2A559B #3970C9 #6993D6

Accessibility & contrast

On white

7.31
#2A559B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2A559B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A559B
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A559B#FFFFFF#000000##FFFFFF
##2A559B1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9E
Deuteranopia (green-blind)
#1D519A
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a559b;
/* rgb */ color: rgb(42, 85, 155);
/* oklch */ color: oklch(45.7% 0.124 259.7);
Tailwind
colors: {
  custom: {
    50: '#7284b9',
    500: '#2a559b',
    950: '#000000',
  },
}
SCSS
$custom: #2a559b;
$custom-light: #7284b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a559b",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 155
  },
  "hsl": {
    "h": 217.168,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45703,
    "c": 0.12382,
    "h": 259.7
  },
  "luminance": 0.09356
}

Semantic roles & 50–950 ramp

primary
#2A559B
secondary
#BD9B64
accent
#A647E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2A559B

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

Preview Lab → · Contrast checker → · Palette generator →

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