#2D549D#2D549D

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

Color values

HEX#2D549D
RGBrgb(45, 84, 157)
HSLhsl(219, 55%, 40%)
HSVhsv(219, 71%, 62%)
CMYKcmyk(71.3%, 46.5%, 0%, 38.4%)
CIE-LABlab(36.62, 11.87, -43.83)
CIE-LCHlch(36.62, 45.41, 285.15°)
OKLaboklab(45.75% -0.0185 -0.1255)
OKLCHoklch(45.75% 0.127 261.6)
XYZxyz(10.3361, 9.3318, 33.1482)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D549D #9D762D
analogous
#2D8C9D #2D549D #3E2D9D
triadic
#2D549D #9D2D54 #549D2D
tetradic
#2D549D #9D2D8C #9D762D #2D9D3E
square
#2D549D #9D2D8C #9D762D #2D9D3E
split-complementary
#2D549D #9D3E2D #8C9D2D
monochromatic
#12213E #1F3B6D #2D549D #3F6FC8 #6F93D6

Accessibility & contrast

On white

7.33
#2D549D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D549D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D549D#FFFFFF#000000##FFFFFF
##2D549D1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d549d;
/* rgb */ color: rgb(45, 84, 157);
/* oklch */ color: oklch(45.7% 0.127 261.6);
Tailwind
colors: {
  custom: {
    50: '#7483ba',
    500: '#2d549d',
    950: '#000000',
  },
}
SCSS
$custom: #2d549d;
$custom-light: #7483ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d549d",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 219.107,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45745,
    "c": 0.12685,
    "h": 261.6
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#2D549D
secondary
#BDA069
accent
#AB49DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D549D

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

Preview Lab → · Contrast checker → · Palette generator →

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