#2D548C#2D548C

#2D548C is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.6% C 0.103 H 257.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2D548C
RGBrgb(45, 84, 140)
HSLhsl(215, 51%, 36%)
HSVhsv(215, 68%, 55%)
CMYKcmyk(67.9%, 40%, 0%, 45.1%)
CIE-LABlab(35.58, 5.44, -35.20)
CIE-LCHlch(35.58, 35.62, 278.79°)
OKLaboklab(44.61% -0.022 -0.1002)
OKLCHoklch(44.61% 0.103 257.6)
XYZxyz(8.9844, 8.7911, 26.0292)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D548C #8C652D
analogous
#2D848C #2D548C #362D8C
triadic
#2D548C #8C2D54 #548C2D
tetradic
#2D548C #8C2D84 #8C652D #2D8C36
square
#2D548C #8C2D84 #8C652D #2D8C36
split-complementary
#2D548C #8C362D #848C2D
monochromatic
#0F1C2F #1E385E #2D548C #3C70BA #6690CE

Accessibility & contrast

On white

7.61
#2D548C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D548C
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D548C#FFFFFF#000000##FFFFFF
##2D548C1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d548c;
/* rgb */ color: rgb(45, 84, 140);
/* oklch */ color: oklch(44.6% 0.103 257.6);
Tailwind
colors: {
  custom: {
    50: '#7183ae',
    500: '#2d548c',
    950: '#000000',
  },
}
SCSS
$custom: #2d548c;
$custom-light: #7183ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d548c",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 215.368,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.10255,
    "h": 257.6
  },
  "luminance": 0.08792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D548C

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

Preview Lab → · Contrast checker → · Palette generator →

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