#2C549A#2C549A

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

Color values

HEX#2C549A
RGBrgb(44, 84, 154)
HSLhsl(218, 56%, 39%)
HSVhsv(218, 71%, 60%)
CMYKcmyk(71.4%, 45.5%, 0%, 39.6%)
CIE-LABlab(36.38, 10.57, -42.40)
CIE-LCHlch(36.38, 43.70, 284.00°)
OKLaboklab(45.49% -0.0198 -0.1213)
OKLCHoklch(45.49% 0.123 260.7)
XYZxyz(10.0397, 9.2082, 31.8138)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C549A #9A722C
analogous
#2C8B9A #2C549A #3B2C9A
triadic
#2C549A #9A2C54 #549A2C
tetradic
#2C549A #9A2C8B #9A722C #2C9A3B
square
#2C549A #9A2C8B #9A722C #2C9A3B
split-complementary
#2C549A #9A3B2C #8B9A2C
monochromatic
#11203B #1E3A6A #2C549A #3C6FC7 #6C92D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C549A#FFFFFF#000000##FFFFFF
##2C549A1.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)
#315B9D
Deuteranopia (green-blind)
#1C5199
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c549a;
/* rgb */ color: rgb(44, 84, 154);
/* oklch */ color: oklch(45.5% 0.123 260.7);
Tailwind
colors: {
  custom: {
    50: '#7383b8',
    500: '#2c549a',
    950: '#000000',
  },
}
SCSS
$custom: #2c549a;
$custom-light: #7383b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c549a",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 218.182,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45492,
    "c": 0.12293,
    "h": 260.7
  },
  "luminance": 0.09209
}

Semantic roles & 50–950 ramp

primary
#2C549A
secondary
#BC9D66
accent
#A849DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C549A

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

Preview Lab → · Contrast checker → · Palette generator →

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