#2C578E#2C578E

#2C578E is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.4% C 0.102 H 255.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2C578E
RGBrgb(44, 87, 142)
HSLhsl(214, 53%, 36%)
HSVhsv(214, 69%, 56%)
CMYKcmyk(69%, 38.7%, 0%, 44.3%)
CIE-LABlab(36.56, 4.06, -34.85)
CIE-LCHlch(36.56, 35.09, 276.65°)
OKLaboklab(45.4% -0.0255 -0.0991)
OKLCHoklch(45.4% 0.102 255.6)
XYZxyz(9.3276, 9.3039, 26.8902)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C578E #8E632C
analogous
#2C888E #2C578E #322C8E
triadic
#2C578E #8E2C57 #578E2C
tetradic
#2C578E #8E2C88 #8E632C #2C8E32
square
#2C578E #8E2C88 #8E632C #2C8E32
split-complementary
#2C578E #8E322C #888E2C
monochromatic
#0F1E31 #1E3A5F #2C578E #3A74BD #6594CF

Accessibility & contrast

On white

7.34
#2C578E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2C578E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C578E
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C578E#FFFFFF#000000##FFFFFF
##2C578E1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B90
Deuteranopia (green-blind)
#30528D
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c578e;
/* rgb */ color: rgb(44, 87, 142);
/* oklch */ color: oklch(45.4% 0.102 255.6);
Tailwind
colors: {
  custom: {
    50: '#7186af',
    500: '#2c578e',
    950: '#000000',
  },
}
SCSS
$custom: #2c578e;
$custom-light: #7186af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c578e",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 142
  },
  "hsl": {
    "h": 213.673,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45399,
    "c": 0.10236,
    "h": 255.6
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

primary
#2C578E
secondary
#B69060
accent
#9D4CDC
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2C578E

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

Preview Lab → · Contrast checker → · Palette generator →

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