#2C548F#2C548F

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

Color values

HEX#2C548F
RGBrgb(44, 84, 143)
HSLhsl(216, 53%, 37%)
HSVhsv(216, 69%, 56%)
CMYKcmyk(69.2%, 41.3%, 0%, 43.9%)
CIE-LABlab(35.71, 6.39, -36.82)
CIE-LCHlch(35.71, 37.37, 279.85°)
OKLaboklab(44.76% -0.0221 -0.1049)
OKLCHoklch(44.76% 0.107 258.1)
XYZxyz(9.1652, 8.8584, 27.2081)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C548F #8F672C
analogous
#2C868F #2C548F #362C8F
triadic
#2C548F #8F2C54 #548F2C
tetradic
#2C548F #8F2C86 #8F672C #2C8F36
square
#2C548F #8F2C86 #8F672C #2C8F36
split-complementary
#2C548F #8F362C #868F2C
monochromatic
#0F1D31 #1E3960 #2C548F #3A6FBE #6691D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C548F#FFFFFF#000000##FFFFFF
##2C548F1.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)
#395991
Deuteranopia (green-blind)
#2A508E
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c548f;
/* rgb */ color: rgb(44, 84, 143);
/* oklch */ color: oklch(44.8% 0.107 258.1);
Tailwind
colors: {
  custom: {
    50: '#7183b0',
    500: '#2c548f',
    950: '#000000',
  },
}
SCSS
$custom: #2c548f;
$custom-light: #7183b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c548f",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 215.758,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44755,
    "c": 0.10723,
    "h": 258.1
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#2C548F
secondary
#B69461
accent
#A24BDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C548F

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

Preview Lab → · Contrast checker → · Palette generator →

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