#2D548E#2D548E

#2D548E is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.7% C 0.105 H 258.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2D548E
RGBrgb(45, 84, 142)
HSLhsl(216, 52%, 37%)
HSVhsv(216, 68%, 56%)
CMYKcmyk(68.3%, 40.8%, 0%, 44.3%)
CIE-LABlab(35.70, 6.19, -36.23)
CIE-LCHlch(35.70, 36.76, 279.70°)
OKLaboklab(44.74% -0.0215 -0.1032)
OKLCHoklch(44.74% 0.105 258.2)
XYZxyz(9.1332, 8.8506, 26.8130)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D548E #8E672D
analogous
#2D858E #2D548E #362D8E
triadic
#2D548E #8E2D54 #548E2D
tetradic
#2D548E #8E2D85 #8E672D #2D8E36
square
#2D548E #8E2D85 #8E672D #2D8E36
split-complementary
#2D548E #8E362D #858E2D
monochromatic
#101D31 #1E3960 #2D548E #3C6FBC #6791CF

Accessibility & contrast

On white

7.58
#2D548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2D548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D548E
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D548E#FFFFFF#000000##FFFFFF
##2D548E1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5990
Deuteranopia (green-blind)
#2B508D
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d548e;
/* rgb */ color: rgb(45, 84, 142);
/* oklch */ color: oklch(44.7% 0.105 258.2);
Tailwind
colors: {
  custom: {
    50: '#7183af',
    500: '#2d548e',
    950: '#000000',
  },
}
SCSS
$custom: #2d548e;
$custom-light: #7183af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d548e",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 215.876,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44736,
    "c": 0.10541,
    "h": 258.2
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#2D548E
secondary
#B59461
accent
#A24CDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D548E

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

Preview Lab → · Contrast checker → · Palette generator →

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