#2A549B#2A549B

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

Color values

HEX#2A549B
RGBrgb(42, 84, 155)
HSLhsl(218, 57%, 39%)
HSVhsv(218, 73%, 61%)
CMYKcmyk(72.9%, 45.8%, 0%, 39.2%)
CIE-LABlab(36.36, 10.65, -43.04)
CIE-LCHlch(36.36, 44.33, 283.90°)
OKLaboklab(45.48% -0.0212 -0.1232)
OKLCHoklch(45.48% 0.125 260.2)
XYZxyz(10.0394, 9.1984, 32.2504)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A549B #9B712A
analogous
#2A8C9B #2A549B #382A9B
triadic
#2A549B #9B2A54 #549B2A
tetradic
#2A549B #9B2A8C #9B712A #2A9B38
square
#2A549B #9B2A8C #9B712A #2A9B38
split-complementary
#2A549B #9B382A #8C9B2A
monochromatic
#10203B #1D3A6B #2A549B #396FC9 #6992D6

Accessibility & contrast

On white

7.39
#2A549B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A549B
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A549B#FFFFFF#000000##FFFFFF
##2A549B1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305B9E
Deuteranopia (green-blind)
#1A519A
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a549b;
/* rgb */ color: rgb(42, 84, 155);
/* oklch */ color: oklch(45.5% 0.125 260.2);
Tailwind
colors: {
  custom: {
    50: '#7283b9',
    500: '#2a549b',
    950: '#000000',
  },
}
SCSS
$custom: #2a549b;
$custom-light: #7283b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a549b",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 155
  },
  "hsl": {
    "h": 217.699,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45476,
    "c": 0.12504,
    "h": 260.2
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

primary
#2A549B
secondary
#BD9C64
accent
#A847E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2A549B

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

Preview Lab → · Contrast checker → · Palette generator →

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