#2C549E#2C549E

#2C549E is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.8% C 0.129 H 261.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2C549E
RGBrgb(44, 84, 158)
HSLhsl(219, 56%, 40%)
HSVhsv(219, 72%, 62%)
CMYKcmyk(72.2%, 46.8%, 0%, 38%)
CIE-LABlab(36.64, 12.10, -44.39)
CIE-LCHlch(36.64, 46.01, 285.24°)
OKLaboklab(45.77% -0.0191 -0.1272)
OKLCHoklch(45.77% 0.129 261.5)
XYZxyz(10.3784, 9.3436, 33.5977)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C549E #9E762C
analogous
#2C8D9E #2C549E #3D2C9E
triadic
#2C549E #9E2C54 #549E2C
tetradic
#2C549E #9E2C8D #9E762C #2C9E3D
square
#2C549E #9E2C8D #9E762C #2C9E3D
split-complementary
#2C549E #9E3D2C #8D9E2C
monochromatic
#11213E #1F3B6E #2C549E #3E6FC9 #6E93D7

Accessibility & contrast

On white

7.32
#2C549E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C549E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C549E#FFFFFF#000000##FFFFFF
##2C549E1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c549e;
/* rgb */ color: rgb(44, 84, 158);
/* oklch */ color: oklch(45.8% 0.129 261.5);
Tailwind
colors: {
  custom: {
    50: '#7483bb',
    500: '#2c549e',
    950: '#000000',
  },
}
SCSS
$custom: #2c549e;
$custom-light: #7483bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c549e",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 218.947,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45771,
    "c": 0.12862,
    "h": 261.5
  },
  "luminance": 0.09345
}

Semantic roles & 50–950 ramp

primary
#2C549E
secondary
#BEA068
accent
#AB48E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C549E

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

Preview Lab → · Contrast checker → · Palette generator →

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