#2C507F#2C507F

#2C507F is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.8% C 0.089 H 255.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2C507F
RGBrgb(44, 80, 127)
HSLhsl(214, 49%, 34%)
HSVhsv(214, 65%, 50%)
CMYKcmyk(65.4%, 37%, 0%, 50.2%)
CIE-LABlab(33.57, 3.02, -30.40)
CIE-LCHlch(33.57, 30.55, 275.67°)
OKLaboklab(42.79% -0.0218 -0.0862)
OKLCHoklch(42.79% 0.089 255.8)
XYZxyz(7.7368, 7.8044, 21.1732)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C507F #7F5B2C
analogous
#2C797F #2C507F #312C7F
triadic
#2C507F #7F2C50 #507F2C
tetradic
#2C507F #7F2C79 #7F5B2C #2C7F31
square
#2C507F #7F2C79 #7F5B2C #2C7F31
split-complementary
#2C507F #7F312C #797F2C
monochromatic
#0D1724 #1C3352 #2C507F #3C6DAC #5E8CC7

Accessibility & contrast

On white

8.20
#2C507F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2C507F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C507F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C507F#FFFFFF#000000##FFFFFF
##2C507F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5381
Deuteranopia (green-blind)
#304B7E
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c507f;
/* rgb */ color: rgb(44, 80, 127);
/* oklch */ color: oklch(42.8% 0.089 255.8);
Tailwind
colors: {
  custom: {
    50: '#6e80a4',
    500: '#2c507f',
    950: '#000000',
  },
}
SCSS
$custom: #2c507f;
$custom-light: #6e80a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c507f",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 213.976,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42793,
    "c": 0.08892,
    "h": 255.8
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#2C507F
secondary
#AD8959
accent
#9D50D8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C507F

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

Preview Lab → · Contrast checker → · Palette generator →

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