#2C507E#2C507E

#2C507E is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.087 H 255.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2C507E
RGBrgb(44, 80, 126)
HSLhsl(214, 48%, 33%)
HSVhsv(214, 65%, 49%)
CMYKcmyk(65.1%, 36.5%, 0%, 50.6%)
CIE-LABlab(33.52, 2.65, -29.87)
CIE-LCHlch(33.52, 29.99, 275.07°)
OKLaboklab(42.73% -0.0221 -0.0846)
OKLCHoklch(42.73% 0.087 255.4)
XYZxyz(7.6719, 7.7784, 20.8317)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C507E #7E5A2C
analogous
#2C797E #2C507E #312C7E
triadic
#2C507E #7E2C50 #507E2C
tetradic
#2C507E #7E2C79 #7E5A2C #2C7E31
square
#2C507E #7E2C79 #7E5A2C #2C7E31
split-complementary
#2C507E #7E312C #797E2C
monochromatic
#0C1623 #1C3351 #2C507E #3C6DAB #5E8CC7

Accessibility & contrast

On white

8.22
#2C507E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C507E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C507E#FFFFFF#000000##FFFFFF
##2C507E1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#314B7D
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c507e;
/* rgb */ color: rgb(44, 80, 126);
/* oklch */ color: oklch(42.7% 0.087 255.4);
Tailwind
colors: {
  custom: {
    50: '#6e80a3',
    500: '#2c507e',
    950: '#000000',
  },
}
SCSS
$custom: #2c507e;
$custom-light: #6e80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c507e",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 213.659,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42733,
    "c": 0.08748,
    "h": 255.4
  },
  "luminance": 0.07779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C507E

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

Preview Lab → · Contrast checker → · Palette generator →

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