#2C548B#2C548B

#2C548B is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.5% C 0.102 H 256.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2C548B
RGBrgb(44, 84, 139)
HSLhsl(215, 52%, 36%)
HSVhsv(215, 68%, 55%)
CMYKcmyk(68.3%, 39.6%, 0%, 45.5%)
CIE-LABlab(35.48, 4.89, -34.75)
CIE-LCHlch(35.48, 35.09, 278.01°)
OKLaboklab(44.5% -0.0231 -0.0989)
OKLCHoklch(44.5% 0.102 256.9)
XYZxyz(8.8675, 8.7393, 25.6406)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C548B #8B632C
analogous
#2C838B #2C548B #332C8B
triadic
#2C548B #8B2C54 #548B2C
tetradic
#2C548B #8B2C83 #8B632C #2C8B33
square
#2C548B #8B2C83 #8B632C #2C8B33
split-complementary
#2C548B #8B332C #838B2C
monochromatic
#0F1C2E #1D385D #2C548B #3B70B9 #6490CE

Accessibility & contrast

On white

7.64
#2C548B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C548B
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C548B#FFFFFF#000000##FFFFFF
##2C548B1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588D
Deuteranopia (green-blind)
#2D4F8A
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c548b;
/* rgb */ color: rgb(44, 84, 139);
/* oklch */ color: oklch(44.5% 0.102 256.9);
Tailwind
colors: {
  custom: {
    50: '#7083ad',
    500: '#2c548b',
    950: '#000000',
  },
}
SCSS
$custom: #2c548b;
$custom-light: #7083ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c548b",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 214.737,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44498,
    "c": 0.10153,
    "h": 256.9
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#2C548B
secondary
#B4905F
accent
#9F4CDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C548B

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

Preview Lab → · Contrast checker → · Palette generator →

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