#2C517D#2C517D

#2C517D is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.085 H 253.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2C517D
RGBrgb(44, 81, 125)
HSLhsl(213, 48%, 33%)
HSVhsv(213, 65%, 49%)
CMYKcmyk(64.8%, 35.2%, 0%, 51%)
CIE-LABlab(33.77, 1.63, -28.84)
CIE-LCHlch(33.77, 28.89, 273.24°)
OKLaboklab(42.92% -0.0236 -0.0816)
OKLCHoklch(42.92% 0.085 253.9)
XYZxyz(7.6815, 7.9003, 20.5182)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C517D #7D582C
analogous
#2C797D #2C517D #302C7D
triadic
#2C517D #7D2C51 #517D2C
tetradic
#2C517D #7D2C79 #7D582C #2C7D30
square
#2C517D #7D2C79 #7D582C #2C7D30
split-complementary
#2C517D #7D302C #797D2C
monochromatic
#0C1622 #1C3450 #2C517D #3C6EAA #5D8DC6

Accessibility & contrast

On white

8.14
#2C517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2C517D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C517D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C517D#FFFFFF#000000##FFFFFF
##2C517D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E547F
Deuteranopia (green-blind)
#334C7C
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c517d;
/* rgb */ color: rgb(44, 81, 125);
/* oklch */ color: oklch(42.9% 0.085 253.9);
Tailwind
colors: {
  custom: {
    50: '#6d81a3',
    500: '#2c517d',
    950: '#000000',
  },
}
SCSS
$custom: #2c517d;
$custom-light: #6d81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c517d",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 212.593,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42916,
    "c": 0.08497,
    "h": 253.9
  },
  "luminance": 0.07901
}

Semantic roles & 50–950 ramp

primary
#2C517D
secondary
#AC8659
accent
#9A50D8
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C517D

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

Preview Lab → · Contrast checker → · Palette generator →

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