#2C5271#2C5271

#2C5271 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.5% C 0.068 H 245.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2C5271
RGBrgb(44, 82, 113)
HSLhsl(207, 44%, 31%)
HSVhsv(207, 61%, 44%)
CMYKcmyk(61.1%, 27.4%, 0%, 55.7%)
CIE-LABlab(33.48, -3.35, -21.84)
CIE-LCHlch(33.48, 22.10, 261.29°)
OKLaboklab(42.49% -0.0286 -0.0613)
OKLCHoklch(42.49% 0.068 245)
XYZxyz(7.0355, 7.7617, 16.7470)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5271 #714B2C
analogous
#2C716D #2C5271 #2C2F71
triadic
#2C5271 #712C52 #52712C
tetradic
#2C5271 #6D2C71 #714B2C #2F712C
square
#2C5271 #6D2C71 #714B2C #2F712C
split-complementary
#2C5271 #712C2F #716D2C
monochromatic
#0A1219 #1B3245 #2C5271 #3D729D #5991BE

Accessibility & contrast

On white

8.23
#2C5271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2C5271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5271
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5271#FFFFFF#000000##FFFFFF
##2C52711.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455372
Deuteranopia (green-blind)
#3B4C70
Tritanopia (blue-blind)
#00595D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c5271;
/* rgb */ color: rgb(44, 82, 113);
/* oklch */ color: oklch(42.5% 0.068 245.0);
Tailwind
colors: {
  custom: {
    50: '#6c829a',
    500: '#2c5271',
    950: '#000000',
  },
}
SCSS
$custom: #2c5271;
$custom-light: #6c829a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5271",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 206.957,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42486,
    "c": 0.06768,
    "h": 245
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#2C5271
secondary
#A37956
accent
#8D54D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2C5271

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

Preview Lab → · Contrast checker → · Palette generator →

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