#2C517F#2C517F

#2C517F is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.0% C 0.088 H 254.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2C517F
RGBrgb(44, 81, 127)
HSLhsl(213, 49%, 34%)
HSVhsv(213, 65%, 50%)
CMYKcmyk(65.4%, 36.2%, 0%, 50.2%)
CIE-LABlab(33.88, 2.37, -29.91)
CIE-LCHlch(33.88, 30.00, 274.53°)
OKLaboklab(43.04% -0.023 -0.0848)
OKLCHoklch(43.04% 0.088 254.8)
XYZxyz(7.8105, 7.9519, 21.1978)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C517F #7F5A2C
analogous
#2C7A7F #2C517F #302C7F
triadic
#2C517F #7F2C51 #517F2C
tetradic
#2C517F #7F2C7A #7F5A2C #2C7F30
square
#2C517F #7F2C7A #7F5A2C #2C7F30
split-complementary
#2C517F #7F302C #7A7F2C
monochromatic
#0D1724 #1C3452 #2C517F #3C6EAC #5E8DC7

Accessibility & contrast

On white

8.11
#2C517F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2C517F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C517F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C517F#FFFFFF#000000##FFFFFF
##2C517F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5481
Deuteranopia (green-blind)
#324C7E
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c517f;
/* rgb */ color: rgb(44, 81, 127);
/* oklch */ color: oklch(43.0% 0.088 254.8);
Tailwind
colors: {
  custom: {
    50: '#6e81a4',
    500: '#2c517f',
    950: '#000000',
  },
}
SCSS
$custom: #2c517f;
$custom-light: #6e81a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c517f",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 213.253,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43036,
    "c": 0.08781,
    "h": 254.8
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#2C517F
secondary
#AD8859
accent
#9B50D8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C517F

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

Preview Lab → · Contrast checker → · Palette generator →

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