#2D549F#2D549F

#2D549F is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.130 H 262.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2D549F
RGBrgb(45, 84, 159)
HSLhsl(219, 56%, 40%)
HSVhsv(219, 72%, 62%)
CMYKcmyk(71.7%, 47.2%, 0%, 37.6%)
CIE-LABlab(36.74, 12.63, -44.82)
CIE-LCHlch(36.74, 46.57, 285.74°)
OKLaboklab(45.89% -0.0181 -0.1284)
OKLCHoklch(45.89% 0.13 262)
XYZxyz(10.5083, 9.4006, 34.0549)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D549F #9F782D
analogous
#2D8D9F #2D549F #3F2D9F
triadic
#2D549F #9F2D54 #549F2D
tetradic
#2D549F #9F2D8D #9F782D #2D9F3F
square
#2D549F #9F2D8D #9F782D #2D9F3F
split-complementary
#2D549F #9F3F2D #8D9F2D
monochromatic
#122240 #203B6F #2D549F #406FC9 #7093D6

Accessibility & contrast

On white

7.29
#2D549F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2D549F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D549F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D549F#FFFFFF#000000##FFFFFF
##2D549F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA2
Deuteranopia (green-blind)
#14529D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d549f;
/* rgb */ color: rgb(45, 84, 159);
/* oklch */ color: oklch(45.9% 0.130 262.0);
Tailwind
colors: {
  custom: {
    50: '#7483bc',
    500: '#2d549f',
    950: '#000000',
  },
}
SCSS
$custom: #2d549f;
$custom-light: #7483bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d549f",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 219.474,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.45886,
    "c": 0.12969,
    "h": 262
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#2D549F
secondary
#BEA16A
accent
#AC49DF
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D549F

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

Preview Lab → · Contrast checker → · Palette generator →

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