#2C548D#2C548D

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

Color values

HEX#2C548D
RGBrgb(44, 84, 141)
HSLhsl(215, 52%, 36%)
HSVhsv(215, 69%, 55%)
CMYKcmyk(68.8%, 40.4%, 0%, 44.7%)
CIE-LABlab(35.59, 5.64, -35.79)
CIE-LCHlch(35.59, 36.23, 278.96°)
OKLaboklab(44.63% -0.0226 -0.1019)
OKLCHoklch(44.63% 0.104 257.5)
XYZxyz(9.0150, 8.7983, 26.4173)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C548D #8D652C
analogous
#2C858D #2C548D #352C8D
triadic
#2C548D #8D2C54 #548D2C
tetradic
#2C548D #8D2C85 #8D652C #2C8D35
square
#2C548D #8D2C85 #8D652C #2C8D35
split-complementary
#2C548D #8D352C #858D2C
monochromatic
#0F1C30 #1D385E #2C548D #3B70BC #6590CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C548D#FFFFFF#000000##FFFFFF
##2C548D1.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)
#3A598F
Deuteranopia (green-blind)
#2C508C
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c548d;
/* rgb */ color: rgb(44, 84, 141);
/* oklch */ color: oklch(44.6% 0.104 257.5);
Tailwind
colors: {
  custom: {
    50: '#7083af',
    500: '#2c548d',
    950: '#000000',
  },
}
SCSS
$custom: #2c548d;
$custom-light: #7083af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c548d",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 215.258,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44626,
    "c": 0.10438,
    "h": 257.5
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#2C548D
secondary
#B59260
accent
#A14CDC
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C548D

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

Preview Lab → · Contrast checker → · Palette generator →

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