#2C5F82#2C5F82

#2C5F82 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.7% C 0.079 H 241.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2C5F82
RGBrgb(44, 95, 130)
HSLhsl(204, 49%, 34%)
HSVhsv(204, 66%, 51%)
CMYKcmyk(66.2%, 26.9%, 0%, 49%)
CIE-LABlab(38.43, -5.38, -24.62)
CIE-LCHlch(38.43, 25.20, 257.67°)
OKLaboklab(46.66% -0.038 -0.0692)
OKLCHoklch(46.66% 0.079 241.3)
XYZxyz(9.1587, 10.3307, 22.6261)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F82 #824F2C
analogous
#2C827A #2C5F82 #2C3482
triadic
#2C5F82 #822C5F #5F822C
tetradic
#2C5F82 #7A2C82 #824F2C #34822C
square
#2C5F82 #7A2C82 #824F2C #34822C
split-complementary
#2C5F82 #822C34 #827A2C
monochromatic
#0D1C27 #1D3E54 #2C5F82 #3B80B0 #5F9EC9

Accessibility & contrast

On white

6.85
#2C5F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2C5F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5F82
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F82#FFFFFF#000000##FFFFFF
##2C5F821.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F84
Deuteranopia (green-blind)
#435781
Tritanopia (blue-blind)
#00686B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c5f82;
/* rgb */ color: rgb(44, 95, 130);
/* oklch */ color: oklch(46.7% 0.079 241.3);
Tailwind
colors: {
  custom: {
    50: '#6f8ca6',
    500: '#2c5f82',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f82;
$custom-light: #6f8ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f82",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 130
  },
  "hsl": {
    "h": 204.419,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46662,
    "c": 0.07897,
    "h": 241.3
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#2C5F82
secondary
#AF7D5B
accent
#874FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2C5F82

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

Preview Lab → · Contrast checker → · Palette generator →

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