#2D549C#2D549C

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

Color values

HEX#2D549C
RGBrgb(45, 84, 156)
HSLhsl(219, 55%, 39%)
HSVhsv(219, 71%, 61%)
CMYKcmyk(71.2%, 46.2%, 0%, 38.8%)
CIE-LABlab(36.55, 11.49, -43.33)
CIE-LCHlch(36.55, 44.83, 284.85°)
OKLaboklab(45.68% -0.0186 -0.124)
OKLCHoklch(45.68% 0.125 261.4)
XYZxyz(10.2511, 9.2978, 32.7004)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D549C #9C752D
analogous
#2D8C9C #2D549C #3E2D9C
triadic
#2D549C #9C2D54 #549C2D
tetradic
#2D549C #9C2D8C #9C752D #2D9C3E
square
#2D549C #9C2D8C #9C752D #2D9C3E
split-complementary
#2D549C #9C3E2D #8C9C2D
monochromatic
#12213D #1F3A6D #2D549C #3F6FC8 #6E92D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D549C#FFFFFF#000000##FFFFFF
##2D549C1.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)
#305B9F
Deuteranopia (green-blind)
#1A519B
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d549c;
/* rgb */ color: rgb(45, 84, 156);
/* oklch */ color: oklch(45.7% 0.125 261.4);
Tailwind
colors: {
  custom: {
    50: '#7483ba',
    500: '#2d549c',
    950: '#000000',
  },
}
SCSS
$custom: #2d549c;
$custom-light: #7483ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d549c",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 156
  },
  "hsl": {
    "h": 218.919,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45675,
    "c": 0.12543,
    "h": 261.4
  },
  "luminance": 0.09299
}

Semantic roles & 50–950 ramp

primary
#2D549C
secondary
#BC9F68
accent
#AA49DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D549C

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

Preview Lab → · Contrast checker → · Palette generator →

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