#2C548C#2C548C

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

Color values

HEX#2C548C
RGBrgb(44, 84, 140)
HSLhsl(215, 52%, 36%)
HSVhsv(215, 69%, 55%)
CMYKcmyk(68.6%, 40%, 0%, 45.1%)
CIE-LABlab(35.54, 5.26, -35.27)
CIE-LCHlch(35.54, 35.66, 278.49°)
OKLaboklab(44.56% -0.0228 -0.1004)
OKLCHoklch(44.56% 0.103 257.2)
XYZxyz(8.9409, 8.7687, 26.0272)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C548C #8C642C
analogous
#2C848C #2C548C #342C8C
triadic
#2C548C #8C2C54 #548C2C
tetradic
#2C548C #8C2C84 #8C642C #2C8C34
square
#2C548C #8C2C84 #8C642C #2C8C34
split-complementary
#2C548C #8C342C #848C2C
monochromatic
#0F1C2F #1D385D #2C548C #3B70BB #6490CE

Accessibility & contrast

On white

7.63
#2C548C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2C548C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C548C
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C548C#FFFFFF#000000##FFFFFF
##2C548C1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c548c;
/* rgb */ color: rgb(44, 84, 140);
/* oklch */ color: oklch(44.6% 0.103 257.2);
Tailwind
colors: {
  custom: {
    50: '#7083ae',
    500: '#2c548c',
    950: '#000000',
  },
}
SCSS
$custom: #2c548c;
$custom-light: #7083ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c548c",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 215,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44562,
    "c": 0.10296,
    "h": 257.2
  },
  "luminance": 0.0877
}

Semantic roles & 50–950 ramp

primary
#2C548C
secondary
#B5915F
accent
#A04CDC
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C548C

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

Preview Lab → · Contrast checker → · Palette generator →

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