#2D549A#2D549A

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

Color values

HEX#2D549A
RGBrgb(45, 84, 154)
HSLhsl(219, 55%, 39%)
HSVhsv(219, 71%, 60%)
CMYKcmyk(70.8%, 45.5%, 0%, 39.6%)
CIE-LABlab(36.42, 10.73, -42.33)
CIE-LCHlch(36.42, 43.67, 284.22°)
OKLaboklab(45.54% -0.019 -0.1211)
OKLCHoklch(45.54% 0.123 261.1)
XYZxyz(10.0832, 9.2306, 31.8159)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D549A #9A732D
analogous
#2D8B9A #2D549A #3D2D9A
triadic
#2D549A #9A2D54 #549A2D
tetradic
#2D549A #9A2D8B #9A732D #2D9A3D
square
#2D549A #9A2D8B #9A732D #2D9A3D
split-complementary
#2D549A #9A3D2D #8B9A2D
monochromatic
#11203B #1F3A6B #2D549A #3E6FC7 #6D92D4

Accessibility & contrast

On white

7.38
#2D549A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2D549A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D549A
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D549A#FFFFFF#000000##FFFFFF
##2D549A1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9D
Deuteranopia (green-blind)
#1D5199
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d549a;
/* rgb */ color: rgb(45, 84, 154);
/* oklch */ color: oklch(45.5% 0.123 261.1);
Tailwind
colors: {
  custom: {
    50: '#7383b8',
    500: '#2d549a',
    950: '#000000',
  },
}
SCSS
$custom: #2d549a;
$custom-light: #7383b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d549a",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 218.532,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45537,
    "c": 0.12258,
    "h": 261.1
  },
  "luminance": 0.09232
}

Semantic roles & 50–950 ramp

primary
#2D549A
secondary
#BB9D67
accent
#A94ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D549A

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

Preview Lab → · Contrast checker → · Palette generator →

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