#2A549D#2A549D

#2A549D is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.6% C 0.128 H 260.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2A549D
RGBrgb(42, 84, 157)
HSLhsl(218, 58%, 39%)
HSVhsv(218, 73%, 62%)
CMYKcmyk(73.2%, 46.5%, 0%, 38.4%)
CIE-LABlab(36.49, 11.42, -44.03)
CIE-LCHlch(36.49, 45.49, 284.54°)
OKLaboklab(45.62% -0.0209 -0.1262)
OKLCHoklch(45.62% 0.128 260.6)
XYZxyz(10.2088, 9.2661, 33.1423)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A549D #9D732A
analogous
#2A8E9D #2A549D #3A2A9D
triadic
#2A549D #9D2A54 #549D2A
tetradic
#2A549D #9D2A8E #9D732A #2A9D3A
square
#2A549D #9D2A8E #9D732A #2A9D3A
split-complementary
#2A549D #9D3A2A #8E9D2A
monochromatic
#10203C #1D3A6D #2A549D #3A6FCA #6A92D7

Accessibility & contrast

On white

7.36
#2A549D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2A549D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A549D
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A549D#FFFFFF#000000##FFFFFF
##2A549D1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5BA0
Deuteranopia (green-blind)
#16519C
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a549d;
/* rgb */ color: rgb(42, 84, 157);
/* oklch */ color: oklch(45.6% 0.128 260.6);
Tailwind
colors: {
  custom: {
    50: '#7383ba',
    500: '#2a549d',
    950: '#000000',
  },
}
SCSS
$custom: #2a549d;
$custom-light: #7383ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a549d",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 218.087,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45616,
    "c": 0.12787,
    "h": 260.6
  },
  "luminance": 0.09267
}

Semantic roles & 50–950 ramp

primary
#2A549D
secondary
#BE9D65
accent
#A947E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A549D

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

Preview Lab → · Contrast checker → · Palette generator →

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