#2A549C#2A549C

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

Color values

HEX#2A549C
RGBrgb(42, 84, 156)
HSLhsl(218, 58%, 39%)
HSVhsv(218, 73%, 61%)
CMYKcmyk(73.1%, 46.2%, 0%, 38.8%)
CIE-LABlab(36.43, 11.03, -43.53)
CIE-LCHlch(36.43, 44.91, 284.22°)
OKLaboklab(45.55% -0.021 -0.1247)
OKLCHoklch(45.55% 0.126 260.4)
XYZxyz(10.1238, 9.2321, 32.6945)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A549C #9C722A
analogous
#2A8D9C #2A549C #392A9C
triadic
#2A549C #9C2A54 #549C2A
tetradic
#2A549C #9C2A8D #9C722A #2A9C39
square
#2A549C #9C2A8D #9C722A #2A9C39
split-complementary
#2A549C #9C392A #8D9C2A
monochromatic
#10203C #1D3A6C #2A549C #396FCA #6A92D7

Accessibility & contrast

On white

7.38
#2A549C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A549C
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A549C#FFFFFF#000000##FFFFFF
##2A549C1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9F
Deuteranopia (green-blind)
#18519B
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a549c;
/* rgb */ color: rgb(42, 84, 156);
/* oklch */ color: oklch(45.5% 0.126 260.4);
Tailwind
colors: {
  custom: {
    50: '#7383ba',
    500: '#2a549c',
    950: '#000000',
  },
}
SCSS
$custom: #2a549c;
$custom-light: #7383ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a549c",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 156
  },
  "hsl": {
    "h": 217.895,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45545,
    "c": 0.12645,
    "h": 260.4
  },
  "luminance": 0.09233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A549C

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

Preview Lab → · Contrast checker → · Palette generator →

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