#2D548B#2D548B

#2D548B is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.5% C 0.101 H 257.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2D548B
RGBrgb(45, 84, 139)
HSLhsl(215, 51%, 36%)
HSVhsv(215, 68%, 55%)
CMYKcmyk(67.6%, 39.6%, 0%, 45.5%)
CIE-LABlab(35.52, 5.07, -34.68)
CIE-LCHlch(35.52, 35.05, 278.31°)
OKLaboklab(44.55% -0.0223 -0.0986)
OKLCHoklch(44.55% 0.101 257.3)
XYZxyz(8.9110, 8.7617, 25.6427)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D548B #8B642D
analogous
#2D838B #2D548B #352D8B
triadic
#2D548B #8B2D54 #548B2D
tetradic
#2D548B #8B2D83 #8B642D #2D8B35
square
#2D548B #8B2D83 #8B642D #2D8B35
split-complementary
#2D548B #8B352D #838B2D
monochromatic
#0F1C2F #1E385D #2D548B #3C70B9 #6590CD

Accessibility & contrast

On white

7.63
#2D548B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2D548B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D548B
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D548B#FFFFFF#000000##FFFFFF
##2D548B1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d548b;
/* rgb */ color: rgb(45, 84, 139);
/* oklch */ color: oklch(44.5% 0.101 257.3);
Tailwind
colors: {
  custom: {
    50: '#7083ad',
    500: '#2d548b',
    950: '#000000',
  },
}
SCSS
$custom: #2d548b;
$custom-light: #7083ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d548b",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 215.106,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44545,
    "c": 0.10112,
    "h": 257.3
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#2D548B
secondary
#B49160
accent
#A04DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D548B

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

Preview Lab → · Contrast checker → · Palette generator →

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