#2C5281#2C5281

#2C5281 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.4% C 0.090 H 254.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2C5281
RGBrgb(44, 82, 129)
HSLhsl(213, 49%, 34%)
HSVhsv(213, 66%, 51%)
CMYKcmyk(65.9%, 36.4%, 0%, 49.4%)
CIE-LABlab(34.30, 2.46, -30.48)
CIE-LCHlch(34.30, 30.58, 274.61°)
OKLaboklab(43.4% -0.0236 -0.0864)
OKLCHoklch(43.4% 0.09 254.8)
XYZxyz(8.0170, 8.1543, 21.9161)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5281 #815B2C
analogous
#2C7D81 #2C5281 #302C81
triadic
#2C5281 #812C52 #52812C
tetradic
#2C5281 #812C7D #815B2C #2C8130
square
#2C5281 #812C7D #815B2C #2C8130
split-complementary
#2C5281 #81302C #7D812C
monochromatic
#0D1826 #1C3553 #2C5281 #3C6FAF #5F8EC8

Accessibility & contrast

On white

7.98
#2C5281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2C5281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5281
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5281#FFFFFF#000000##FFFFFF
##2C52811.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5583
Deuteranopia (green-blind)
#324D80
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c5281;
/* rgb */ color: rgb(44, 82, 129);
/* oklch */ color: oklch(43.4% 0.090 254.8);
Tailwind
colors: {
  custom: {
    50: '#6e82a6',
    500: '#2c5281',
    950: '#000000',
  },
}
SCSS
$custom: #2c5281;
$custom-light: #6e82a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5281",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 213.176,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43399,
    "c": 0.08956,
    "h": 254.8
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#2C5281
secondary
#AF895A
accent
#9B4FD9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C5281

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

Preview Lab → · Contrast checker → · Palette generator →

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