#2C558F#2C558F

#2C558F is a dark, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.106 H 257.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#2C558F
RGBrgb(44, 85, 143)
HSLhsl(215, 53%, 37%)
HSVhsv(215, 69%, 56%)
CMYKcmyk(69.2%, 40.6%, 0%, 43.9%)
CIE-LABlab(36.01, 5.74, -36.34)
CIE-LCHlch(36.01, 36.79, 278.98°)
OKLaboklab(44.99% -0.0232 -0.1035)
OKLCHoklch(44.99% 0.106 257.4)
XYZxyz(9.2433, 9.0147, 27.2342)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C558F #8F662C
analogous
#2C878F #2C558F #352C8F
triadic
#2C558F #8F2C55 #558F2C
tetradic
#2C558F #8F2C87 #8F662C #2C8F35
square
#2C558F #8F2C87 #8F662C #2C8F35
split-complementary
#2C558F #8F352C #878F2C
monochromatic
#0F1D31 #1E3960 #2C558F #3A71BE #6692D0

Accessibility & contrast

On white

7.49
#2C558F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2C558F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C558F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C558F#FFFFFF#000000##FFFFFF
##2C558F1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A91
Deuteranopia (green-blind)
#2C508E
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c558f;
/* rgb */ color: rgb(44, 85, 143);
/* oklch */ color: oklch(45.0% 0.106 257.4);
Tailwind
colors: {
  custom: {
    50: '#7184b0',
    500: '#2c558f',
    950: '#000000',
  },
}
SCSS
$custom: #2c558f;
$custom-light: #7184b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c558f",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 143
  },
  "hsl": {
    "h": 215.152,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4499,
    "c": 0.10606,
    "h": 257.4
  },
  "luminance": 0.09016
}

Semantic roles & 50–950 ramp

primary
#2C558F
secondary
#B69361
accent
#A04BDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C558F

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

Preview Lab → · Contrast checker → · Palette generator →

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