#2C549D#2C549D

#2C549D is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.7% C 0.127 H 261.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2C549D
RGBrgb(44, 84, 157)
HSLhsl(219, 56%, 39%)
HSVhsv(219, 72%, 62%)
CMYKcmyk(72%, 46.5%, 0%, 38.4%)
CIE-LABlab(36.57, 11.71, -43.90)
CIE-LCHlch(36.57, 45.43, 284.94°)
OKLaboklab(45.7% -0.0193 -0.1257)
OKLCHoklch(45.7% 0.127 261.3)
XYZxyz(10.2927, 9.3094, 33.1462)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C549D #9D752C
analogous
#2C8D9D #2C549D #3D2C9D
triadic
#2C549D #9D2C54 #549D2C
tetradic
#2C549D #9D2C8D #9D752C #2C9D3D
square
#2C549D #9D2C8D #9D752C #2C9D3D
split-complementary
#2C549D #9D3D2C #8D9D2C
monochromatic
#11213D #1F3A6D #2C549D #3D6FC9 #6D92D6

Accessibility & contrast

On white

7.34
#2C549D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2C549D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C549D
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C549D#FFFFFF#000000##FFFFFF
##2C549D1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c549d;
/* rgb */ color: rgb(44, 84, 157);
/* oklch */ color: oklch(45.7% 0.127 261.3);
Tailwind
colors: {
  custom: {
    50: '#7483ba',
    500: '#2c549d',
    950: '#000000',
  },
}
SCSS
$custom: #2c549d;
$custom-light: #7483ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c549d",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 218.761,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45701,
    "c": 0.12719,
    "h": 261.3
  },
  "luminance": 0.0931
}

Semantic roles & 50–950 ramp

primary
#2C549D
secondary
#BD9F68
accent
#AA48E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C549D

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

Preview Lab → · Contrast checker → · Palette generator →

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