#2D548D#2D548D

#2D548D is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.104 H 257.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2D548D
RGBrgb(45, 84, 141)
HSLhsl(216, 52%, 36%)
HSVhsv(216, 68%, 55%)
CMYKcmyk(68.1%, 40.4%, 0%, 44.7%)
CIE-LABlab(35.64, 5.82, -35.71)
CIE-LCHlch(35.64, 36.19, 279.25°)
OKLaboklab(44.67% -0.0218 -0.1017)
OKLCHoklch(44.67% 0.104 257.9)
XYZxyz(9.0585, 8.8207, 26.4193)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D548D #8D662D
analogous
#2D848D #2D548D #362D8D
triadic
#2D548D #8D2D54 #548D2D
tetradic
#2D548D #8D2D84 #8D662D #2D8D36
square
#2D548D #8D2D84 #8D662D #2D8D36
split-complementary
#2D548D #8D362D #848D2D
monochromatic
#0F1D30 #1E385F #2D548D #3C70BB #6690CE

Accessibility & contrast

On white

7.60
#2D548D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2D548D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D548D
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D548D#FFFFFF#000000##FFFFFF
##2D548D1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A598F
Deuteranopia (green-blind)
#2C508C
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d548d;
/* rgb */ color: rgb(45, 84, 141);
/* oklch */ color: oklch(44.7% 0.104 257.9);
Tailwind
colors: {
  custom: {
    50: '#7183af',
    500: '#2d548d',
    950: '#000000',
  },
}
SCSS
$custom: #2d548d;
$custom-light: #7183af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d548d",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 215.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44672,
    "c": 0.10397,
    "h": 257.9
  },
  "luminance": 0.08822
}

Semantic roles & 50–950 ramp

primary
#2D548D
secondary
#B59361
accent
#A14DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D548D

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

Preview Lab → · Contrast checker → · Palette generator →

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