#2D548F#2D548F

#2D548F is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.8% C 0.107 H 258.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2D548F
RGBrgb(45, 84, 143)
HSLhsl(216, 52%, 37%)
HSVhsv(216, 69%, 56%)
CMYKcmyk(68.5%, 41.3%, 0%, 43.9%)
CIE-LABlab(35.75, 6.57, -36.74)
CIE-LCHlch(35.75, 37.33, 280.13°)
OKLaboklab(44.8% -0.0213 -0.1047)
OKLCHoklch(44.8% 0.107 258.5)
XYZxyz(9.2087, 8.8808, 27.2101)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D548F #8F682D
analogous
#2D858F #2D548F #372D8F
triadic
#2D548F #8F2D54 #548F2D
tetradic
#2D548F #8F2D85 #8F682D #2D8F37
square
#2D548F #8F2D85 #8F682D #2D8F37
split-complementary
#2D548F #8F372D #858F2D
monochromatic
#101D32 #1E3960 #2D548F #3C6FBE #6791CF

Accessibility & contrast

On white

7.56
#2D548F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2D548F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D548F
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D548F#FFFFFF#000000##FFFFFF
##2D548F1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395991
Deuteranopia (green-blind)
#2A508E
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d548f;
/* rgb */ color: rgb(45, 84, 143);
/* oklch */ color: oklch(44.8% 0.107 258.5);
Tailwind
colors: {
  custom: {
    50: '#7183b0',
    500: '#2d548f',
    950: '#000000',
  },
}
SCSS
$custom: #2d548f;
$custom-light: #7183b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d548f",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 216.122,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44801,
    "c": 0.10684,
    "h": 258.5
  },
  "luminance": 0.08882
}

Semantic roles & 50–950 ramp

primary
#2D548F
secondary
#B69462
accent
#A34CDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D548F

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

Preview Lab → · Contrast checker → · Palette generator →

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