#2D549E#2D549E

#2D549E is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.128 H 261.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2D549E
RGBrgb(45, 84, 158)
HSLhsl(219, 56%, 40%)
HSVhsv(219, 72%, 62%)
CMYKcmyk(71.5%, 46.8%, 0%, 38%)
CIE-LABlab(36.68, 12.25, -44.32)
CIE-LCHlch(36.68, 45.99, 285.45°)
OKLaboklab(45.82% -0.0183 -0.127)
OKLCHoklch(45.82% 0.128 261.8)
XYZxyz(10.4219, 9.3661, 33.5997)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D549E #9E772D
analogous
#2D8D9E #2D549E #3F2D9E
triadic
#2D549E #9E2D54 #549E2D
tetradic
#2D549E #9E2D8D #9E772D #2D9E3F
square
#2D549E #9E2D8D #9E772D #2D9E3F
split-complementary
#2D549E #9E3F2D #8D9E2D
monochromatic
#12213F #1F3B6E #2D549E #406FC9 #6F93D6

Accessibility & contrast

On white

7.31
#2D549E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D549E
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D549E#FFFFFF#000000##FFFFFF
##2D549E1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d549e;
/* rgb */ color: rgb(45, 84, 158);
/* oklch */ color: oklch(45.8% 0.128 261.8);
Tailwind
colors: {
  custom: {
    50: '#7483bb',
    500: '#2d549e',
    950: '#000000',
  },
}
SCSS
$custom: #2d549e;
$custom-light: #7483bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d549e",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 219.292,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45815,
    "c": 0.12827,
    "h": 261.8
  },
  "luminance": 0.09367
}

Semantic roles & 50–950 ramp

primary
#2D549E
secondary
#BDA069
accent
#AB49DF
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D549E

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

Preview Lab → · Contrast checker → · Palette generator →

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