#2C517E#2C517E

#2C517E is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.086 H 254.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2C517E
RGBrgb(44, 81, 126)
HSLhsl(213, 48%, 33%)
HSVhsv(213, 65%, 49%)
CMYKcmyk(65.1%, 35.7%, 0%, 50.6%)
CIE-LABlab(33.83, 2.00, -29.38)
CIE-LCHlch(33.83, 29.45, 273.89°)
OKLaboklab(42.98% -0.0233 -0.0832)
OKLCHoklch(42.98% 0.086 254.4)
XYZxyz(7.7457, 7.9260, 20.8563)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C517E #7E592C
analogous
#2C7A7E #2C517E #302C7E
triadic
#2C517E #7E2C51 #517E2C
tetradic
#2C517E #7E2C7A #7E592C #2C7E30
square
#2C517E #7E2C7A #7E592C #2C7E30
split-complementary
#2C517E #7E302C #7A7E2C
monochromatic
#0C1723 #1C3451 #2C517E #3C6EAB #5E8DC7

Accessibility & contrast

On white

8.12
#2C517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C517E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C517E#FFFFFF#000000##FFFFFF
##2C517E1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#334C7D
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c517e;
/* rgb */ color: rgb(44, 81, 126);
/* oklch */ color: oklch(43.0% 0.086 254.4);
Tailwind
colors: {
  custom: {
    50: '#6e81a3',
    500: '#2c517e',
    950: '#000000',
  },
}
SCSS
$custom: #2c517e;
$custom-light: #6e81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c517e",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 212.927,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42976,
    "c": 0.08639,
    "h": 254.4
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C517E

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

Preview Lab → · Contrast checker → · Palette generator →

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